Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 24 14:42
    greenkeeper[bot] labeled #859
  • Nov 24 14:42
    greenkeeper[bot] opened #859
  • Oct 31 23:23
    greenkeeper[bot] labeled #844
  • Oct 31 23:23
    greenkeeper[bot] opened #844
  • Oct 30 12:36
    satyamakgec closed #838
  • Oct 30 12:36
    satyamakgec closed #830
  • Oct 30 12:36
    satyamakgec closed #824
  • Oct 30 12:35
    satyamakgec closed #662
  • Oct 30 12:34
    satyamakgec closed #648
  • Oct 30 12:32
    satyamakgec closed #532
  • Oct 29 17:46
    greenkeeper[bot] labeled #838
  • Oct 29 17:46
    greenkeeper[bot] opened #838
  • Oct 10 18:33
    greenkeeper[bot] labeled #830
  • Oct 10 18:33
    greenkeeper[bot] opened #830
  • Sep 30 07:11
    greenkeeper[bot] labeled #824
  • Sep 30 07:11
    greenkeeper[bot] opened #824
  • Sep 17 09:17
    maxsam4 closed #800
  • Sep 17 09:15
    maxsam4 closed #814
  • Sep 17 09:11
    maxsam4 closed #813
  • Sep 16 20:04
    larrycameron80 opened #814
huangkuan
@huangkuan
As a start, I am trying to find a few basic stats
Number of Tickers Reserved
Number of Tokens Created
Number of instantiation of each modules (CountTM, PercentTM, etc...)
carterpy
@carterpy
well, I don't work for Polymath, but I can see what you need and how you'd get it from this url
huangkuan
@huangkuan
cool
thx
carterpy
@carterpy
Ideally the polymath guys would just front you the content of this URL as a big CSV
with a row for each event log
and then this is just an ms excel thing
otherwise it's kind of annoything selenium/bs4 exercise lol
if they don't step into the breach and sort you out in an hour I will
huangkuan
@huangkuan
ok!
carterpy
@carterpy
huangkuan you're scout
huangkuan
@huangkuan
yup
well one of the people
carterpy
@carterpy
I thought you were token holder trying to get those stats from scout event logs from url you passed, I'd be trying to pull the data into a csv that had logs as records. I'd be counting distinct blocks by registerTicker for Number of Tickers Reserved and the same by generateSecurityToken for Number of Tokens Created. I'd be counting GenerateModuleFromFactory logs by _moduleName for instantiation of each module but we'd need a map of bytes32 to _moduleName strings to make that something human readable
scout is cool
cool
is scout django?
huangkuan
@huangkuan
i mean any language can create a web application
huangkuan
@huangkuan
@carterpy you are right. I have so far only found one module called General Transfer Module
carterpy
@carterpy
I am guessing that's the Transfer Manager Module
Is it always the same _moduleFactory?
huangkuan
@huangkuan
so far yes
carterpy
@carterpy
it seems consistent with their design docs
you're right, there's so many roads to web application development that it's overwhelming
I'm just interested to know how you're pulling and caching the data
like are you using web3 to pull those logs and contract details and then caching it or what?
huangkuan
@huangkuan
yea
web3 pull data
and save it into a traditional DB
carterpy
@carterpy
cool that's awesome that means it's just some sql to get these kpis - scout is cool. Good job
huangkuan
@huangkuan
basic stats, yes
easy stuff
just aggregation
but there are more stats that requires aggregation, transform, reindexing the data
that's where it gets tricky and expensive
carterpy
@carterpy
I'm trying to imagine your schema - like a table for all the logs, a table for all the blocks - and the logs are nearly nosql
huangkuan
@huangkuan
something like that
pretty standard stuff
huangkuan
@huangkuan
Any engineers here can lend me a hand?
I am trying to count how many Indivisible vs divisible tokens have been created.
Adam Dossa
@adamdossa
You should be able to check the granularity value on created tokens to determine that.
huangkuan
@huangkuan
thanks @adamdossa
wangzhiyong
@TokenxyWZY
hi, guys. which ORACLE schema will be chosen in the ETH mainnet environment?
Adam Dossa
@adamdossa
Hey @TokenxyWZY - I'm not sure exactly what you mean? For ETH / USD & POLY / USD prices we use on-chain oracles provided by MakerDAO.
wangzhiyong
@TokenxyWZY
@adamdossa tks, i just saw this oracle address 0x60055E9A93Aae267dA5A052E95846Fa9469c0e7A has not been updated for a long time in ETH Mainnet, so I want to know if it is working now?
Adam Dossa
@adamdossa
Yep - it is working.
wangzhiyong
@TokenxyWZY
in polymath-core dev-3.0.0 branch, ISecurityTokenRegistry.getSecurityTokenData return five results , but STRGetter.getSecurityTokenData not match it, miss uint8[] memory tokenVersion
Mudit Gupta
@maxsam4
@TokenxyWZY Thanks for looking at our code. It's a known issue and a fix has already been put in one of the branches we are working on right now. It will soon be merged into dev-3.0.0
zhouying
@blackpainter
Hello, will you upgrade to next version base on dev-3.0.0?