mars
mars copied to clipboard
feat: add token table
Summary
Schema:
CREATE TABLE tokens(
address VARCHAR,
symbol VARCHAR,
decimals BIGINT,
total_supply BIGINT,
block_number BIGINT
)
I would like to complete this feature. But I do not know anything else except the title. Can you describe more about the feature? Or just give an example schema of token
table like:
CREATE TABLE token(
address String,
totalSupply UInt256,
decimals UInt8
...
)
Hi @fenghaojiang
Sorry for the confusing, I have update the summary, feel free to take :)
Hello,
Along with symbol, normally these is a name metadata also, I suggest to add "name VARCHAR" to this table, what do you think?
Hello,
Along with symbol, normally these is a name metadata also, I suggest to add "name VARCHAR" to this table, what do you think?
Then it would be
CREATE TABLE tokens(
address VARCHAR,
name VARCHAR,
symbol VARCHAR,
decimals BIGINT,
total_supply BIGINT,
block_number BIGINT
)