Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
feat: Add network system contract addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddentao committed Nov 24, 2020
1 parent 42c5a7a commit b0ab225
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
10 changes: 8 additions & 2 deletions data/networks.json
@@ -1,8 +1,14 @@
{
"1": {
"primaryToken": "egld"
"primaryToken": "egld",
"auctionContract": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqplllst77y4l",
"stakingContract": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqllls0lczs7",
"delegationContract": "erd1qqqqqqqqqqqqqpgqxwakt2g7u9atsnr03gqcgmhcv38pt7mkd94q6shuwt"
},
"T": {
"primaryToken": "xegld"
"primaryToken": "xegld",
"auctionContract": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqplllst77y4l",
"stakingContract": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqllls0lczs7",
"delegationContract": "erd1qqqqqqqqqqqqqpgqp699jngundfqw07d8jzkepucvpzush6k3wvqyc44rx"
}
}
5 changes: 0 additions & 5 deletions index.js

This file was deleted.

12 changes: 12 additions & 0 deletions src/types.ts
Expand Up @@ -10,6 +10,18 @@ export interface NetworkMetadata {
* Id of the token used to pay for transactions.
*/
primaryToken?: string,
/**
* Address of system auction contract.
*/
auctionContract?: string,
/**
* Address of system staking contract.
*/
stakingContract?: string,
/**
* Address of system delegation contract.
*/
delegationContract?: string,
}

/**
Expand Down

0 comments on commit b0ab225

Please sign in to comment.