-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello,
I would like to Implement a connector for AMPL token.
It is will have these features:
-
Contract on Solidity/Ethereum side that can lock and unlock AMPL.
-
When AMPL gets unlock, the amount should be correct given possible rebases that have happened
-
Contract on NEAR side that can mint/burn nAMPL.
-
Contract on NEAR side would also receive rebase events from AMPL ERC-20 contract and adjust total supply as well.
The following additions will be made:
-
In
bridge-token-factory/
- add
rebase_event.rs
- to
lib.rs
, add:rebase()
finish_rebase()
- add
-
to
bridge-token/lib.rs
- add
ft_rebase()
- add
-
in
bridge-common/
- to
result_types.rs
add:RESULT_PREFIX_REBASE
struct Rebase{}
impl Rebase{}
- to
The following changes will be made:
- To
bridge-common/
- in
prover.rs
-
struct EthEvent{ rebaser_address, … }
-
impl EthEvent{ // add rebaser_address }
-
- in
Metadata
Metadata
Assignees
Labels
No labels