We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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/
bridge-token-factory/
rebase_event.rs
lib.rs
rebase()
finish_rebase()
to bridge-token/lib.rs
bridge-token/lib.rs
ft_rebase()
in bridge-common/
bridge-common/
result_types.rs
RESULT_PREFIX_REBASE
struct Rebase{}
impl Rebase{}
The following changes will be made:
prover.rs
struct EthEvent{ rebaser_address, … }
impl EthEvent{ // add rebaser_address }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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/
rebase_event.rs
lib.rs
, add:rebase()
finish_rebase()
to
bridge-token/lib.rs
ft_rebase()
in
bridge-common/
result_types.rs
add:RESULT_PREFIX_REBASE
struct Rebase{}
impl Rebase{}
The following changes will be made:
bridge-common/
prover.rs
struct EthEvent{ rebaser_address, … }
impl EthEvent{ // add rebaser_address }
The text was updated successfully, but these errors were encountered: