Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets and series database #223

Open
alcueca opened this issue Sep 12, 2022 · 0 comments
Open

Assets and series database #223

alcueca opened this issue Sep 12, 2022 · 0 comments

Comments

@alcueca
Copy link
Contributor

alcueca commented Sep 12, 2022

Build an asset and series database, which should be updated with minimum effort each time that an asset or a series is added to the protocol with a governance action.

ASSETS_1.set(FDAI2203, {
  assetAddress: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
  joinAddress: '0x1229C71482E458fa2cd51d13eB157Bd2b5D5d1Ee',
  version: '1',
  name: 'fDAI2203',
  decimals: 8,
  symbol: 'FDAI2203',
  showToken: false,
  digitFormat: 2,
  tokenType: TokenType.ERC1155_,
  tokenIdentifier: 563371972493313,
  limitToSeries: ['0x303130350000'],
  wrapHandlerAddresses: new Map([]),
  unwrapHandlerAddresses: new Map([]),
})

SERIES_42161.set('0x303230370000', {
  fyTokenAddress: '0xeC1b42EC9a1650238acE42fD57bc719cCC87851C',
  poolAddress: '0x13aB946C6A9645EDfF2A33880e0Fc37f67122170',
  poolType: PoolType.NONTV,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant