Skip to content

Commit

Permalink
Update eip-1753.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcoinbrisbane authored Jul 2, 2019
1 parent 770e13f commit 13c2145
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions EIPS/eip-1753.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,62 @@ Returns the total permit supply.
function totalSupply() public view returns (uint256)
```

#### grantAuthority

Adds an ethereum address to a white list of addresses that have authority to modify a permit.

``` js
function grantAuthority(address who)
```

#### revokeAuthority

Removes an ethereum address from a white list of addresses that have authority to modify a permit.

``` js
function revokeAuthority(address who)
```

#### hasAuthority

Checks to see if the address has authority to grant or revoke permits.

``` js
function hasAuthority(address who)
```

#### issue

Issues an ethereum address a permit between the specified date range.

``` js
function issue(address who, uint256 from, uint256 to) public;
```

#### revoke

Revokes a permit from an ethereum address.

``` js
function revoke(address who) public;
```

#### hasValid

Checks to see if an ethereum address has a valid permit.

``` js
function hasValid(address who) public view returns (boolean);
```

#### purchase

Allows a user to self procure a licence.

``` js
function purchase(uint256 from, uint256 to) public payable;
```

## Rationale

The use of smart contracts to apply for, renew, suspend and revoke Licences will free up much needed government resources and allow for the more efficient management of Licences. The EIP also seeks to improve the end user experience of the Licence system. In an era of open government, there is also an increased expectation that individuals will be able to easily access Licence registries, and that the process will be transparent and fair.
Expand Down

0 comments on commit 13c2145

Please sign in to comment.