File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,13 @@ contract SBTToken is
56
56
/**
57
57
* @dev See {IERC721Enumerable-totalSupply}.
58
58
*/
59
- function totalSupply () public view virtual override (ISBTToken, IERC721EnumerableUpgradeable ) returns (uint256 ) {
59
+ function totalSupply ()
60
+ public
61
+ view
62
+ virtual
63
+ override (ISBTToken, IERC721EnumerableUpgradeable )
64
+ returns (uint256 )
65
+ {
60
66
return tokenIdCounter.current ();
61
67
}
62
68
@@ -66,7 +72,13 @@ contract SBTToken is
66
72
function tokenOfOwnerByIndex (
67
73
address _owner ,
68
74
uint256 index
69
- ) public view virtual override (ISBTToken, IERC721EnumerableUpgradeable ) returns (uint256 ) {
75
+ )
76
+ public
77
+ view
78
+ virtual
79
+ override (ISBTToken, IERC721EnumerableUpgradeable )
80
+ returns (uint256 )
81
+ {
70
82
// solhint-disable-next-line reason-string
71
83
require (
72
84
index < tokenIdsMapOfOwner[_owner].length (),
@@ -80,7 +92,13 @@ contract SBTToken is
80
92
*/
81
93
function tokenByIndex (
82
94
uint256 index
83
- ) public view virtual override (ISBTToken, IERC721EnumerableUpgradeable ) returns (uint256 ) {
95
+ )
96
+ public
97
+ view
98
+ virtual
99
+ override (ISBTToken, IERC721EnumerableUpgradeable )
100
+ returns (uint256 )
101
+ {
84
102
// solhint-disable-next-line reason-string
85
103
require (
86
104
index < tokenIdCounter.current (),
Original file line number Diff line number Diff line change @@ -22,10 +22,7 @@ interface ISBTToken {
22
22
* @param _tokenId The token for which we are setting the image uri.
23
23
* @param _data The data that is used as uri.
24
24
*/
25
- function setTokenURIImage (
26
- uint256 _tokenId ,
27
- string memory _data
28
- ) external ;
25
+ function setTokenURIImage (uint256 _tokenId , string memory _data ) external ;
29
26
30
27
/*
31
28
* @dev get token ids by owner
You can’t perform that action at this time.
0 commit comments