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

Authorizers: example contract snippet is missing import and V0 #1074

Closed
dcroote opened this issue Oct 5, 2022 · 1 comment · Fixed by #1085
Closed

Authorizers: example contract snippet is missing import and V0 #1074

dcroote opened this issue Oct 5, 2022 · 1 comment · Fixed by #1085
Assignees

Comments

@dcroote
Copy link
Contributor

dcroote commented Oct 5, 2022

Relevant section. I needed:

//SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "@api3/airnode-protocol/contracts/authorizers/interfaces/IAuthorizerV0.sol";

And needed to use IAuthorizerV0 instead of IAuthorizer i.e.

contract everythingAuthorized is IAuthorizerV0
@dcroote
Copy link
Contributor Author

dcroote commented Oct 11, 2022

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 a pull request may close this issue.

2 participants