-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from 1inch/feature/update-doc-generator
[SC-1287] Remove deprecated script for docgen
- Loading branch information
Showing
12 changed files
with
1,945 additions
and
1,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
|
||
## AddressToken | ||
|
||
### Functions list | ||
- [constructor(_metadataContract, owner) public](#constructor) | ||
- [addressForTokenId(tokenId) external](#addressfortokenid) | ||
- [tokenURI(tokenId) public](#tokenuri) | ||
- [tokenJSON(tokenId) public](#tokenjson) | ||
- [getTokenIdAndSalt(magic, account) public](#gettokenidandsalt) | ||
- [mint(magic) external](#mint) | ||
- [mintFor(magic, account) public](#mintfor) | ||
- [deploy(tokenId, creationCode) public](#deploy) | ||
- [deployAndCalls(tokenId, creationCode, cds) external](#deployandcalls) | ||
- [upgradeMetadataContract(_metadataContract) external](#upgrademetadatacontract) | ||
|
||
### Errors list | ||
- [AccessDenied() ](#accessdenied) | ||
- [RemintForbidden() ](#remintforbidden) | ||
- [CallReverted(, ) ](#callreverted) | ||
|
||
### Functions | ||
### constructor | ||
|
||
```solidity | ||
constructor(contract IAddressTokenMetadata _metadataContract, address owner) public | ||
``` | ||
|
||
### addressForTokenId | ||
|
||
```solidity | ||
function addressForTokenId(uint256 tokenId) external pure returns (address) | ||
``` | ||
|
||
### tokenURI | ||
|
||
```solidity | ||
function tokenURI(uint256 tokenId) public view returns (string) | ||
``` | ||
|
||
_See {IERC721Metadata-tokenURI}._ | ||
|
||
### tokenJSON | ||
|
||
```solidity | ||
function tokenJSON(uint256 tokenId) public view returns (string) | ||
``` | ||
|
||
### getTokenIdAndSalt | ||
|
||
```solidity | ||
function getTokenIdAndSalt(bytes16 magic, address account) public view returns (address tokenId, bytes32 salt) | ||
``` | ||
|
||
### mint | ||
|
||
```solidity | ||
function mint(bytes16 magic) external returns (address tokenId) | ||
``` | ||
|
||
### mintFor | ||
|
||
```solidity | ||
function mintFor(bytes16 magic, address account) public returns (address tokenId) | ||
``` | ||
|
||
### deploy | ||
|
||
```solidity | ||
function deploy(address tokenId, bytes creationCode) public payable returns (address deployed) | ||
``` | ||
|
||
### deployAndCalls | ||
|
||
```solidity | ||
function deployAndCalls(address tokenId, bytes creationCode, bytes[] cds) external payable returns (address deployed) | ||
``` | ||
|
||
### upgradeMetadataContract | ||
|
||
```solidity | ||
function upgradeMetadataContract(contract IAddressTokenMetadata _metadataContract) external | ||
``` | ||
|
||
### Errors | ||
### AccessDenied | ||
|
||
```solidity | ||
error AccessDenied() | ||
``` | ||
|
||
### RemintForbidden | ||
|
||
```solidity | ||
error RemintForbidden() | ||
``` | ||
|
||
### CallReverted | ||
|
||
```solidity | ||
error CallReverted(uint256, bytes) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
## AddressTokenMetadata | ||
|
||
### Functions list | ||
- [tokenJSON(tokenId) external](#tokenjson) | ||
|
||
### Functions | ||
### tokenJSON | ||
|
||
```solidity | ||
function tokenJSON(uint256 tokenId) external pure returns (string) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
## IAddressTokenMetadata | ||
|
||
### Functions list | ||
- [tokenJSON(tokenId) external](#tokenjson) | ||
|
||
### Functions | ||
### tokenJSON | ||
|
||
```solidity | ||
function tokenJSON(uint256 tokenId) external pure returns (string) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.