Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Initial Call implementation #3

Merged
merged 20 commits into from Aug 8, 2019
Merged

Initial Call implementation #3

merged 20 commits into from Aug 8, 2019

Conversation

ascjones
Copy link
Member

Extracted from use-ink/ink#124.

Provides a basic Call implementation for use with ext_dispatch_call, for calling substrate modules from contracts.

This PR provides only the Balances variant as a proof of concept, together with an example contract which dispatches a transfer call.

Further modules/call variants will be added in future PRs.

It is expected that chain and module authors will construct their own Call enum types compatible with their custom runtime. They will likely copy the types here as a basis for building those.

@ascjones ascjones requested a review from Robbepop July 29, 2019 14:35
.gitignore Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
examples/calls/Cargo.toml Outdated Show resolved Hide resolved
examples/calls/.cargo/config Outdated Show resolved Hide resolved
examples/calls/Cargo.toml Show resolved Hide resolved
src/calls.rs Outdated Show resolved Hide resolved
@ascjones ascjones merged commit e29e5c8 into master Aug 8, 2019
@ascjones ascjones deleted the aj-call branch August 8, 2019 09:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants