-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Asset from polkadot * Remove params unnecessary * Experiment: return calldata from Agent instead of call Gateway directly * To store registries also on agent * Send polkadot tokens back * Cleanup for not exceed the size limit * Add smoke test for register polkadot token * Transfer relay token to Ethereum * Reuse IGateway.sendToken for polkadot native asset * More cleanup * Fix encode substrate types * Add smoke test send relay token back * Rename to sendForeignToken * Improve ERC20.sol * Revert the change double register the token * Migration for AssetsStorage * Rename to _sendForeignTokenCosts * Use storage for less gas * Rename to tokenAddressOf * Rename as _burnToken * _ensureAgent in Gateway * Remove unused * Clean up smoke test * Terminate register foreign token in Gateway * Mint foreign token without the callback * Burn token without the callback * constructor ERC20 with the agent as owner * Move handler to Assets.sol reduce contract size * Refactoring to move transferToken to Assets * Remove TokenMinted&TokenBurned event * Move Command.RegisterToken to top level * Fix smoke tests * Move the check before interactions * Polish * Introduce ERC20Lib.sol * Remove unused * More test * Remove AgentExecuteCommand * More contract tests * Update contract address * Add AgentExecuteCommand back for compatibility * Cleanup * Add rfc * Update polkadot-native-assets.md * Update rfc * Update rfc with fee section * Fix _calculateFee for polkadot native token * Improve solidity code for PNA (#1275) * Improve PNA implementation * More improvents to ERC20 token * Fix implementation of Assets._sendForeignToken * Fix build payload for foreign token --------- Co-authored-by: ron <[email protected]> * Remove storage migration * Smoke test for register relay token * Fix fee estimation * Fix binding * Remove outdated doc * Fork upgrade test with sanity checks * Fix test --------- Co-authored-by: Vincent Geddes <[email protected]>
- Loading branch information
Showing
26 changed files
with
1,565 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.