3
votes
How to Burn Tokens from someone wallet
You can't burn tokens from other addresses/contracts unless that address/wallet approves you to do it. See the ERC20 approve method.
3
votes
Accepted
Ethereum stuck in the smart contract
Unfortunately, I don't see any way to get the Eth.
The only places where the code sends Eth is in claim when it sends the sent amount (sent inside that transaction) to someone, but it never sends more ...
1
vote
Accepted
Can Ethereum prevent secondary market sales?
Yes, since win-token-v1 and win-token-v2 are most probably ERC-721 tokens (NFTs), they manage their own ledger and able to allow transferFrom to be executed from a specific msg.sender, that will be ...
1
vote
Accepted
Initializing IUniswapV2Pair from msg.sender
So IUniswapV2Pair is a cast, that casts an address into an interface, in this case the IUniswapV2Pair interface. Doing this essentially makes all the functions inside of the interface easily callable ...
1
vote
Accepted
How large is the key-value dataset of Tether?
As of 2022-05-18 14:35:00 UTC the Tether USDT contract has a total of 4,568,883 holders.
It will consume 4,568,883 x 32 bytes = 146,204,256 bytes = 139.43 Mbytes.
1
vote
Transaction fail error
Your smart contract code works. Possibly your problem when adding this condition:
require(msg.value > 0.1 ether);
is that you don't set the value inside msg.value textbox present in DEPLOY & ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tokens × 2246solidity × 696
erc-20 × 636
contract-development × 368
ether × 195
contract-design × 163
web3js × 137
remix × 130
transactions × 129
go-ethereum × 128
blockchain × 118
nft × 110
ico × 110
erc-721 × 90
contract-deployment × 80
crowdsale × 80
etherscan × 77
uniswap × 62
metamask × 59
smart-contract-wallets × 59
wallets × 58
ethereum-wallet-dapp × 54
exchanges × 52
gas × 48
myetherwallet × 46