Skip to content

Commit

Permalink
chore: add signer addresses to signed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
strumswell committed Sep 12, 2022
1 parent 11c02a0 commit f86afa2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions EIPS/eip-5539.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function changeStatus(bool revoked, address namespace, bytes32 revocationList, b
#### changeStatusSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to change the revocation status of a particular revocation key in a namespace's revocation list with a raw signature.
```solidity
function changeStatusSigned(bool revoked, address namespace, bytes32 revocationList, bytes32 revocationKey, bytes calldata signature) public;
function changeStatusSigned(bool revoked, address namespace, bytes32 revocationList, bytes32 revocationKey, address signer, bytes calldata signature) public;
```

#### changeStatusDelegated
Expand All @@ -68,7 +68,7 @@ function changeStatusDelegated(bool revoked, address namespace, bytes32 revocati
#### changeStatusDelegatedSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to change the revocation status of a particular revocation key in a namespace's revocation list with a raw signature.
```solidity
function changeStatusDelegatedSigned(bool revoked, address namespace, bytes32 revocationList, bytes32 revocationKey, bytes calldata signature) public;
function changeStatusDelegatedSigned(bool revoked, address namespace, bytes32 revocationList, bytes32 revocationKey, address signer, bytes calldata signature) public;
```

#### changeStatusesInList
Expand All @@ -80,7 +80,7 @@ function changeStatusesInList(bool[] memory revoked, address namespace, bytes32
#### changeStatusesInListSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to change multiple revocation statuses in a namespace's revocation list at once with a raw signature.
```solidity
function changeStatusesInListSigned(bool[] memory revoked, address namespace, bytes32 revocationList, bytes32[] memory revocationKeys, bytes calldata signature) public;
function changeStatusesInListSigned(bool[] memory revoked, address namespace, bytes32 revocationList, bytes32[] memory revocationKeys, address signer, bytes calldata signature) public;
```

#### changeStatusesInListDelegated
Expand All @@ -92,7 +92,7 @@ function changeStatusesInListDelegated(bool[] memory revoked, address namespace,
#### changeStatusesInListDelegatedSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to change multiple revocation statuses in a namespace's revocation list at once with a raw signature generated by a revocation list's delegate.
```solidity
function changeStatusesInListDelegatedSigned(bool[] memory revoked, address namespace, bytes32 revocationList, bytes32[] memory revocationKeys) public;
function changeStatusesInListDelegatedSigned(bool[] memory revoked, address namespace, bytes32 revocationList, bytes32[] memory revocationKeys, address signer, bytes calldata signature) public;
```

### Revocation List Management
Expand All @@ -112,7 +112,7 @@ function changeListStatus(bool revoked, address namespace, bytes32 revocationLis
#### changeListStatusSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to change the revocation of a revocation list itself with a raw signature. If a revocation list is revoked, all its keys are considered revoked as well.
```solidity
function changeListStatusSigned(bool revoked, address namespace, bytes32 revocationList, bytes calldata signature) public;
function changeListStatusSigned(bool revoked, address namespace, bytes32 revocationList, address signer, bytes calldata signature) public;
```

### Owner management
Expand All @@ -126,7 +126,7 @@ function changeListOwner(address newOwner, address namespace, bytes32 revocation
#### changeListOwnerSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implement a function to change the revocation status of a revocation list with a raw signature. If a revocation list is revoked, all keys in it are considered revoked.
```solidity
function changeListOwnerSigned(address newOwner, address namespace, bytes32 revocationList, bytes calldata signature) public;
function changeListOwnerSigned(address newOwner, address namespace, bytes32 revocationList, address signer, bytes calldata signature) public;
```

### Delegation management
Expand All @@ -140,7 +140,7 @@ function addListDelegate(address delegate, address namespace, bytes32 revocation
#### addListDelegateSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to add a delegate to an owner's revocation list in a namespace with a raw signature.
```solidity
function addListDelegateSigned(address delegate, address namespace, bytes32 revocationList, bytes calldata signature) public;
function addListDelegateSigned(address delegate, address namespace, bytes32 revocationList, address signer, bytes calldata signature) public;
```

#### removeListDelegate
Expand All @@ -152,7 +152,7 @@ function removeListDelegate(address delegate, address owner, bytes32 revocationL
#### removeListDelegateSigned ([see Meta Transactions](#MetaTransactions))
**OPTIONAL** implements a function to remove a delegate from an owner's revocation list in a namespace with a raw signature.
```solidity
function removeListDelegateSigned(address delegate, address namespace, bytes32 revocationList, bytes calldata signature) public;
function removeListDelegateSigned(address delegate, address namespace, bytes32 revocationList, address signer, bytes calldata signature) public;
```

### Events
Expand Down

0 comments on commit f86afa2

Please sign in to comment.