Questions tagged [wrapped-tokens]
The wrapped-tokens tag has no usage guidance.
49
questions
0
votes
0
answers
9
views
org.web3j.protocol.exceptions.TransactionException: Transaction receipt was not generated after 600 seconds
Yesterday I could deploy the code successfully, but today onwards I am facing the below error. I tried to reduce/increase the gas fees yet the error is still not resolved.
If anyone is willing to ...
0
votes
3
answers
37
views
fallback and receive function on WETH
Does a contract that works with Wrapped Ether(WETH) require a fallback or receive functions? Let say I send WETH to a smart contract with/without fallback functions, what will happen?
0
votes
0
answers
23
views
Why WETH contract use src, dst, wad instead of from, to, values?
When I read WETH9 contract code, I felt strange.
For example, generally "transferFrom" method has "from", "to", "value" as parameters but WETH9's transferFrom ...
0
votes
1
answer
21
views
Problems Batching Transactions with wXDAI in SAFE Gnosis
I'm Trying to Send a Batched Transactions with Transaction Builder on Gnosis SAFE.
I'm trying to send different quantities of wXDAI to 8 different Address. Those Addresses are some of Owners of SAFE ...
1
vote
1
answer
30
views
ETH from zkSYNK sent to wETH contract adress on Ethereum
Really curious if i could do something to retrive it.
I was on th WHOP website trying to pay for something and i didn t notice that i was on zkSYNK network and not on ethereum like i should have been. ...
0
votes
1
answer
42
views
Problem calling withdraw from WBNB inside the contract
I have these to functions:
function stake(address _token, uint256 amount) external payable {
address sender = msg.sender;
address receiver = address(this);
IERC20 token = IERC20(_token);
...
0
votes
1
answer
76
views
Wrapping ETH into WETH via ethers -- WETH coins on my balance won't appear
I'm attempting to wrap ETH on Goerli into WETH by calling deposit function using ethers. Even though several TX already have been confirmed and successfully mined, nothing will appear on my WETH ...
0
votes
1
answer
294
views
How to wrap ETH into WETH via ethers.js or web3.js?
what function in a smart contract is responsible for this?
In the documentation of Uniswap I've found only one reference to what I might be looking -- https://docs.uniswap.org/contracts/universal-...
1
vote
1
answer
127
views
How to convert testnet BTC to WBTC?
How can I convert my test BTC to WBTC so that I can then communicate with EVM Ethereum?? Should I use a particular DEX over others or are there methods that already exist in the bitcoin libraries out ...
1
vote
1
answer
111
views
How do I manually unwrap wrapped coins (like wbtc not WETH)
Im not interested in just swapping the coins on uniswap, I want to unlock the value of wrapped tokens.
I have a number of coins similar to WBTC that I want to manually unwrap to get the BTC back. Is ...
0
votes
0
answers
50
views
Wrap LP tokens + Rewards Yield in One Token
My question is whether there's any contracts out there currently that will allow you to wrap LP tokens + Reward (incentives) yield in the same token contract. Essentially, we have an LP token + ...
2
votes
3
answers
2k
views
How to deposit and withdraw WETH
When I try to make a deposit, Ethereum is transferred but the Wrapped ether is not received. Here is my code
interface IWETH is IERC20 {
receive() external payable;
function deposit() external ...
0
votes
0
answers
90
views
Tokens lost in uniswap by using manualswap function in etherscan. Please help
I had initiated manualswap from etherscan. Please check the transaction : https://etherscan.io/tx/0xf389c6e00c2dca2f1b3e21724d0c1d3c3b602b17c504cefd4ccc4450d3c4b4e2. Instead of receiving ethereum, it ...
1
vote
1
answer
235
views
Unable to Unwrap WETH
I am writing a smart contract that needs to Unwrap/Withdraw WETH at some point but the transaction is always reverting.
When calling this function, everything works perfectly fine and the Log I put in ...
0
votes
1
answer
121
views
approve contract in wbnb
I deployed a contract on the bsc network to execute functions on the blockchain then I approved my contract at the wbnb address to make purchases and/or sales from the contract.
What am I allowing ...
0
votes
1
answer
21
views
Is it advisable to "wrapped" my tokens in order to use inside my Dapp to lessen gas cost?
I created a token ABC and have another smart contract for my dapp.
My Dapp requires a lot of ABC token burning for every tx, my question is, is it advisable to convert my ABC token from on-chain to my ...
1
vote
1
answer
535
views
Getting WETH from ETH on Hardhat Local Network
I have a localhost Hardhat Network running but I need to convert Fake ETH on it into WETH.
How can I do this?
0
votes
1
answer
306
views
Use WETH for NFT MArketplace
I am working on WETH
pragma solidity ^0.8.5;
import "./Token.sol";
contract WETH {
function transferFrom(address recipient, uint256 amount) external {
Token token = Token(...
0
votes
1
answer
21
views
Send Token Failing in Metamask
I am trying to transfer 1 WETH betweeen my wallets.
It is not letting me
I have 2 WETH and I am transferring 1.
What could be the possible reason.
Network : Rinkeby
0
votes
2
answers
63
views
Mismatch in WETH shown in Metamask wallet and shown by code
tokenContractAddress is 0xc778417E063141139Fce010982780140Aa0cD5Ab
on execution, returns
but balance of WETH in my wallet is 2 WETH as i can see.
How is it possible?
0
votes
1
answer
398
views
Can Metamask be used for all ERC20 token?
How can I use WETH with Metamask wallet?
I can see ETH in my Metamask (Rinkeby TestNet, it works on Mainnet) but can not use other tokens.
Any Repository or lead will be appreciated.
If yes, What will ...
0
votes
2
answers
126
views
Why does WrappedETH(WETH) need a custodian?
Why does WETH use a custodian(BitGO) when Ethereum smart contracts can natively hold eth?
0
votes
1
answer
20
views
How to convert 5 ETH worth token to another blockchain wrapped ETH without actually converting tokens to ETH
So this is the example: we have 100 X Tokens on Etherium mainNet, which let's say has the value of 5ETH. Now I create Wrapped ETH on BSC and the Wrapped ETH price is same as ETH. (peg to ETH). Now I ...
0
votes
1
answer
107
views
How to get pegged testnet tokens?
I want to get FUSDC/FUDST on fantom Testnet or USDT/USDC on Avalanche Testnet. The obvious problem is all the faucet only provides native tokens, not the pegged tokens. Is there a way to get pegged ...
1
vote
1
answer
2k
views
What contract address is used when sending native tokens to contact
So I'm building something similar to this question
Smartcontract that receive tokens and ether(native BNB) and swap it through pancakeSwap router?
I have my contract and its able to swap tokens-2-...
1
vote
2
answers
21k
views
How to swap wETH for ETH on Polygon network?
The current largest mining pool Ethermine has an option to be paid in wETH through the Polygon network instead of in ETH on the mainnet.
Through MetaMask on the Polygon network, I see my wETH in my ...
1
vote
0
answers
67
views
What are the best practices when launching a smart contract protocol on multiple networks/chains?
Hi I have some questions on protocols that launch on multiple networks/chains.
For example, Aave originally launched on the Ethereum network but now is also on networks like Polygon and Avalanche. To ...
1
vote
0
answers
146
views
How to issue a wrapped token to an existing ERC-20 token?
I have already issued an ERC-20 token with a fixed supply amount. How can I issue a Wrapped token?
1
vote
0
answers
140
views
Is it true that there are 2 wETH and do they differ in safety?
When miners mine on Ethermine, they can choose to get wETH, but it seems like it is wrapped on Polygon?
It has the contract: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619
I think there is also a wETH ...
0
votes
1
answer
310
views
Wrapped Ether balance disappears from wallet on Etherscan by conversion?
The following wallet on Etherscan shows 3 transactions of Wrapped Ether (WETH) being transferred in under the ERC-20 transactions tab, a large amount, but not how they are transferred out, assuming ...
0
votes
1
answer
2k
views
How to check a wallet's Wrapped Ether balance on OpenSea or Etherscan?
Etherscan shows transfers in and out of Ether, whereas Wrapped Ether (WETH) appears in Etherscan's ERC-20 transactions.
Etherscan readily displays the current Ether balance of a wallet at the top-left ...
3
votes
2
answers
122
views
How does WBTC on Ethereum work?
I'm trying to wrap my head around how WBTC works on the Ethereum blockchain.
My understanding at the moment is that when BTC is sent to a particular BTC address, then a WBTC is generated on the ...
2
votes
2
answers
126
views
How can I decode calls to the songbird network?
for example: I am a multisig signer. And I want to decode the call data that is used to call a specific smart contract.
example on smart contract : 0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED (WNat)
I ...
0
votes
1
answer
1k
views
Where is my WETH?
So I transferred some ETH to my Ledger Nano S Wallet to buy some NFTs on opensea.
Yesterday, I wrapped ETH to WETH. But I am not sure, if it actually worked.
In myetherwallet (and Ledger Live), it is ...
2
votes
1
answer
2k
views
Programmatically wrap ETH by interacting with Wrapped Ether contract in Web3.py
Looking at the contract for Wrapped Ether, I noticed that it uses a function called deposit to wrap ETH.
The function deposit itself does not get an argument. However, at the top of the script, I ...
0
votes
2
answers
810
views
How to peg a token to another token
I want to create a token that represent the other token, the peg is not 1:1 but e.g. 10:1, so if a person deposit 1 of TokenX will get 10 of my tokens.
The person should also be able to withdraw his ...
3
votes
4
answers
13k
views
WETH vs. ETH on OpenSea?
I listed an item on OpenSea for 0.01 ETH. It wasn't an auction, just a fixed price. I received an offer for 0.01 WETH. I don't understand the advantage to using WETH vs ETH. Why would somebody offer 0....
0
votes
1
answer
846
views
Creating an auction smart contract without storing the ether
I am currently looking into creating a smart contract for a NFT auction. But because of certain legal restrictions we are not allowed to store the ether bid during the auction period (that is what ...
1
vote
1
answer
112
views
Why can we trade tokens from foreign blockchains on DEX?
I am trying to understand the concept of crypto exchanges (AMM / DEX).
On a DEX on Ethereum, how is it possible to trade tokens that are not native to Ethereum, such as Bitcoin? How does the DEX ...
0
votes
1
answer
2k
views
How to convert WETH back to ETH (solidity)
I am trying to convert back WETH into ETH (actually BNB on BSC). I am doing the following:
function allToBNB() public{
WETH.transfer(address(this), WETH.balanceOf(address(this)));
}`
...
1
vote
2
answers
2k
views
What is the difference between Pegged token and Wrapped tokens?
As the question in the title: is the pegged token and wrapped token the same thing? From my understanding - it is? Both are tied to a particular cryptocurrency in order to maintain its value across ...
0
votes
1
answer
41
views
Does anyone knows about EthItem?
We already know that ERC-1155 is a combination of ERC-20 and ERC-721. Now, a new standard has arrived called EthItem saying that it is the combination of ERC-20, ERC-721, ERC-1155. So what is the ...
0
votes
0
answers
75
views
How come I could spend 1.5 WETH, even though I only wrapped 1 ETH?
On opensea, I converted (wrapped) 1 ETH to 1 WETH, which is equal to 2 x 0.5 WETH = 1 WETH.
I then spent 0.5 WETH on 3 items = 1.5 WETH, which is greater than the amount I had.
how is this even ...
1
vote
0
answers
2k
views
How to convert my custom ERC20 token to BEP20?
I have my custom token on the Ethereum network and I want to send part of the tokens to the binance smart chain. That is, issue a wrapped token.For example:
https://etherscan.io/token/...
0
votes
0
answers
80
views
Is there a project that can swap ETH and BTC using atomic swaps without having to deal with wrapped tokens like WBTC?
Is there a project that lets one do an atomic swap from ETH to Bitcoin or Litecoin or Monero without having to deal with wrapped tokens like WBTC(wrapped btc)? Basically a cross chain swap, without ...
0
votes
1
answer
873
views
I have WETH in my ETH wallet but I can't send it
As you see, I have 1.7 WETH. When I try to withdraw, it shows me this
0
votes
1
answer
50
views
Are the yields on Compound legit?
I have been reading recently about the DeFi space. I have noticed (admittedly, pretty late) quite a bit of buzz regarding WBTC and its applications in Ethereum. I have read about the Compound dapp and ...
0
votes
1
answer
1k
views
Must I add WETH conversion descritpion in a contract and how?
I'm confused about how I write a contract about WETH conversion.
When we write a smartcontract depositing user funds into a contract, should we necessarily write some codes of converting eth into weth ...
1
vote
1
answer
921
views
Are there any wrapped ERC20 tokens that are privacy coins?
ERC20 tokens by itself are not private as anyone can see everyone's balance. But a wrapped token for a privacy coin like Monero or Zcash can be anonymous when converted from the wrapped version. Does ...