Comments (4)
Yes, when something like that happens, you should return tokens from the source chain to the user. The admin of the bridge should perform a series of steps, depending on the type of ERC20(burnable/mintable)
- If set to be burnable/mintable
- bridge admin should be able to mint tokens, and he should mint tokens to the user to recover the loss
- if not:
- bridge admin should call adminWithdraw function on the bridge contract to release and return the tokens to the user
from chainbridge.
We can listen to events and create a voteProposal to return user assets.
from chainbridge.
This might be something that we will consider implementing in the future, but for now, the only possibility is to return the assets to the user by hand. Also to implement automatic money return is a pretty complex task. If we just create a voteProposal this will just mess up the depositNonce
from chainbridge.
Closed due to inactivity, feel free to open another ticket if the problem persists
from chainbridge.
Related Issues (20)
- Approve bridge to assume custody of tokens one time HOT 1
- Declare new event type HOT 1
- How to change default transaction maker in Ethereum HOT 2
- Support for Substrate metadata v14 HOT 3
- When transfering ERC721, execution proposal not working HOT 8
- The CLI (cb-sol-cli admin withdraw) doesn't actually withdraw fees HOT 1
- ERC 721 tokens not deposited/released in destination chain HOT 1
- VM exeception error while initializing chainbridge HOT 1
- import an ethereum keystore Lack of newPassword option HOT 1
- Add-minter error: CALL_EXCEPTION | MINTER_ROLE()
- "concurrent map writes" error HOT 2
- unsupported metadata version 14 HOT 1
- cb-sol-cli cannot deploy Eth contracts... Cannot find module 'commander' HOT 2
- How to show transferred amount from ERC20 to Substrate parachain?
- chainbridge start report error
- Error tranfering NFT from Ethereum Goerli to Polygon Edge: proposal execution is skipped HOT 3
- ERC721 from Substrate to Polygon-Edge, "insufficient funds" and panics
- where is your bridge contract? HOT 5
- Which ChainBridge version is the most matched with chainbridge-solidity v2.1.3(tag) ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainbridge.