Skip to content
New issue

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

Callisto Swap Smart Contract #1

Open
yograterol opened this issue Aug 1, 2019 · 2 comments
Open

Callisto Swap Smart Contract #1

yograterol opened this issue Aug 1, 2019 · 2 comments
Assignees

Comments

@yograterol
Copy link
Member

yograterol commented Aug 1, 2019

Features:

  • Receive CLO and send an event to mint token in another chain:
    • Event:
      • Name: MintCLO
      • Params:
        • id: Frontend will generate a UUID for the transaction without hyphens (bytes32)
        • addressTo: Destination address (string)
        • addressFrom: CLO address
        • amountToMint: Send in wei the amount of CLO to mint
        • chain: BNB, ETH, TRX or EOS
    • Allow max amount of CLO to be swap to another chain if the max amount is 0 the smart contract will allow any transaction.
  • Send CLO to any address from a function when Bridge Backend triggers it: The smart contract will send to the address provided on the token-CLO swap.
@yograterol yograterol changed the title Callisto Smart Contract Callisto Swap Smart Contract Aug 1, 2019
@yuriy77k
Copy link
Collaborator

yuriy77k commented Aug 4, 2019

We can add converting fee to cover the transaction fee in another network. The fee can be set to 0 if necessary.

@yograterol
Copy link
Member Author

@yuriy77k I agree, fee by network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants