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

Add bridge log ACTION with receiver recipient #507

Open
2 tasks
DenisCarriere opened this issue Apr 26, 2023 · 0 comments
Open
2 tasks

Add bridge log ACTION with receiver recipient #507

DenisCarriere opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request 👍 lgtm

Comments

@DenisCarriere
Copy link
Collaborator

Usecase

Accept transfers from eosio.evm and know which account was the authorized sender. Could be used in Pomelo to accept grant donations from EVM.

Request

  • Add logbridge with require_recipient using receiver.
  • Allow smart contract recipient (could be removed if EOS smart contracts are trying to integrate with EVM)

Table delta example

https://eos.eosq.eosnation.io/tx/e957166265fc123db10006c5a9367529e84b560f13101a36882c9908b359c55d

{
   "balance": "00000000000000000000000000000000000000000000000382f6f20b65783ec0",
   "eth_address": "734791856e0a20ee6ef48e7dd831d732f4f92ce8",
   "id": 77,
   "nonce": 31
}

Log message example

{
   "eth_address": "734791856e0a20ee6ef48e7dd831d732f4f92ce8",
   "from": "eosio.evm",
   "to": "myaccount",
   "quantity": "1.0000 EOS",
   "token_account": "eosio.token",
   "memo": "",
   "nonce": 31
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 👍 lgtm
Projects
Status: Todo
Development

No branches or pull requests

3 participants