Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Take advantage of EIP 165 for App interface verification #6

Open
snario opened this issue Aug 2, 2018 · 2 comments
Open

Take advantage of EIP 165 for App interface verification #6

snario opened this issue Aug 2, 2018 · 2 comments

Comments

@snario
Copy link
Contributor

snario commented Aug 2, 2018

It seems like EIP 165 is being worked on to support one of our use cases; to verify that a particular interface is supported. For us, we'd want to verify that the reduce, resolve, and similar methods are supported on an App that is committed to in the state channel

Resources

@shrugs
Copy link

shrugs commented Aug 2, 2018

ERC165Checker.sol is being added as part of OpenZeppelin/openzeppelin-contracts#1024 (which depends on some other issues/standards: OpenZeppelin/openzeppelin-contracts#1024 (comment) )

It'll eventually implement

using ERC165Checker for address;

// ....
require(myAddress.supportsInterface(InterfaceId_CounterfactualReducer));

Although now that I think about it, I can merge this separately and rebase Bouncer off of that, so that's what I'll do as part of OpenZeppelin/openzeppelin-contracts#1145

@snario
Copy link
Contributor Author

snario commented May 8, 2019

@IIIIllllIIIIllllIIIIllllIIIIllllIIIIll would this be useful for #1263?

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

No branches or pull requests

3 participants