-
Notifications
You must be signed in to change notification settings - Fork 978
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
CPGF & RPGF over IBC #1395
Comments
I haven't look at IBC a lot lately, but I think we it should be douable. |
We have two PGF payments now:
In In To execute these payments over IBC, changes are required to add an IBC transfer in addition to the existing transfer.
The timeout height and timestamp can be set some long time. The addresses are the same as those of an internal transfer. For the port ID and channel ID, we could add members to
|
This broadly makes sense to me. We don't care about handling timeouts on PGF-over-IBC packets for now, the timeout parameters can just be set far in the future as you mention. One slight tweak: rather than having optional port ID and channel ID members, we should have the |
agree with @cwgoes, 2 different |
Namada should support CPGF (recurring) and RPGF (one-time) allocations which are sent to an address over IBC (maybe also over the Ethereum bridge, but we can start with only IBC). When these allocations are processed, instead of sending tokens to a Namada address (as we do for CPGF right now), we should generate an ICS20 transfer packet on the specified port, connection, and channel, to the specified destination address on the other chain. We don't need to worry about handling timeouts for now (but we should set a long timeout on the packet, maybe slightly under an epoch length).
@Fraccaman Does this seem straightforward to implement, or is anything potentially tricky?
The text was updated successfully, but these errors were encountered: