Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
c8ce7297
Commit
c8ce7297
authored
Feb 09, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
4d4c4a1f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
tokenInstance.ts
mocks/tokens/tokenInstance.ts
+1
-1
address.ts
types/api/address.ts
+1
-1
tokenTransfer.ts
types/api/tokenTransfer.ts
+1
-1
Token.tsx
ui/pages/Token.tsx
+1
-1
TokenInstanceDetails.tsx
ui/tokenInstance/TokenInstanceDetails.tsx
+1
-1
No files found.
mocks/tokens/tokenInstance.ts
View file @
c8ce7297
import
type
{
TokenInstance
}
from
'
types/api/token
s
'
;
import
type
{
TokenInstance
}
from
'
types/api/token
'
;
import
*
as
addressMock
from
'
../address/address
'
;
import
*
as
addressMock
from
'
../address/address
'
;
import
{
tokenInfoERC721a
}
from
'
./tokenInfo
'
;
import
{
tokenInfoERC721a
}
from
'
./tokenInfo
'
;
...
...
types/api/address.ts
View file @
c8ce7297
...
@@ -3,7 +3,7 @@ import type { Transaction } from 'types/api/transaction';
...
@@ -3,7 +3,7 @@ import type { Transaction } from 'types/api/transaction';
import
type
{
AddressTag
,
WatchlistName
}
from
'
./addressParams
'
;
import
type
{
AddressTag
,
WatchlistName
}
from
'
./addressParams
'
;
import
type
{
Block
}
from
'
./block
'
;
import
type
{
Block
}
from
'
./block
'
;
import
type
{
InternalTransaction
}
from
'
./internalTransaction
'
;
import
type
{
InternalTransaction
}
from
'
./internalTransaction
'
;
import
type
{
TokenInfo
,
TokenType
}
from
'
./token
Info
'
;
import
type
{
TokenInfo
,
TokenType
}
from
'
./token
'
;
import
type
{
TokenTransfer
,
TokenTransferPagination
}
from
'
./tokenTransfer
'
;
import
type
{
TokenTransfer
,
TokenTransferPagination
}
from
'
./tokenTransfer
'
;
export
interface
Address
{
export
interface
Address
{
...
...
types/api/tokenTransfer.ts
View file @
c8ce7297
import
type
{
AddressParam
}
from
'
./addressParams
'
;
import
type
{
AddressParam
}
from
'
./addressParams
'
;
import
type
{
TokenInfoGeneric
,
TokenType
}
from
'
./token
Info
'
;
import
type
{
TokenInfoGeneric
,
TokenType
}
from
'
./token
'
;
export
type
Erc20TotalPayload
=
{
export
type
Erc20TotalPayload
=
{
decimals
:
string
|
null
;
decimals
:
string
|
null
;
...
...
ui/pages/Token.tsx
View file @
c8ce7297
...
@@ -89,7 +89,7 @@ const TokenPageContent = () => {
...
@@ -89,7 +89,7 @@ const TokenPageContent = () => {
];
];
if
(
tokenQuery
.
data
?.
type
===
'
ERC-1155
'
||
tokenQuery
.
data
?.
type
===
'
ERC-721
'
)
{
if
(
tokenQuery
.
data
?.
type
===
'
ERC-1155
'
||
tokenQuery
.
data
?.
type
===
'
ERC-721
'
)
{
tabs
.
push
({
id
:
'
inventory
'
,
title
:
'
Inventory
'
,
component
:
<
TokenInventory
tokenQuery=
{
tokenQuery
}
inventoryQuery=
{
inventoryQuery
}
/>
});
tabs
.
push
({
id
:
'
inventory
'
,
title
:
'
Inventory
'
,
component
:
<
TokenInventory
inventoryQuery=
{
inventoryQuery
}
/>
});
}
}
let
hasPagination
;
let
hasPagination
;
...
...
ui/tokenInstance/TokenInstanceDetails.tsx
View file @
c8ce7297
import
{
Box
,
Flex
,
Grid
}
from
'
@chakra-ui/react
'
;
import
{
Box
,
Flex
,
Grid
}
from
'
@chakra-ui/react
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
type
{
TokenInstance
}
from
'
types/api/token
s
'
;
import
type
{
TokenInstance
}
from
'
types/api/token
'
;
import
Address
from
'
ui/shared/address/Address
'
;
import
Address
from
'
ui/shared/address/Address
'
;
import
AddressIcon
from
'
ui/shared/address/AddressIcon
'
;
import
AddressIcon
from
'
ui/shared/address/AddressIcon
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment