Adding assets
Last updated
Last updated
Asset descriptions are made in JSON files located in the /data/assets/{chainId}/{protocolName}
directory.
Each file is composed of a JSON array of objects with the following overall structure:
Parameter | Type | Details |
---|---|---|
id
string
UUIDv4
active
boolean
color
string
decimals
number
name
string
chainId
number
symbol
string
type
string
Must correspond to type of asset strategy
visible
boolean
allowSlot
number
Value returned from the findSlots
function
balanceSlot
number
Value returned from the findSlots
function