generated from ERC-5725/ERC-5725-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from 0xStabby/feature/generic-on-chain-metadata
Feature/generic on chain metadata
- Loading branch information
Showing
13 changed files
with
1,022 additions
and
871 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 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
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,40 @@ | ||
# Solidity API | ||
|
||
## ERC5725svg | ||
|
||
### tokenURI | ||
|
||
```solidity | ||
function tokenURI(uint256 id) public view returns (string) | ||
``` | ||
|
||
### getTraits | ||
|
||
```solidity | ||
function getTraits(uint256 id) public view returns (struct OnChainDataStructs.Trait[]) | ||
``` | ||
|
||
### getMetadata | ||
|
||
```solidity | ||
function getMetadata(uint256 id) public view virtual returns (string) | ||
``` | ||
|
||
### getImage | ||
|
||
```solidity | ||
function getImage(uint256 id) public view virtual returns (string) | ||
``` | ||
|
||
### toAsciiString | ||
|
||
```solidity | ||
function toAsciiString(address x) internal pure returns (string) | ||
``` | ||
|
||
### char | ||
|
||
```solidity | ||
function char(bytes1 b) internal pure returns (bytes1 c) | ||
``` | ||
|
Oops, something went wrong.