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

update new currencies token symbol convention #13

Merged
merged 1 commit into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,31 @@ These ERC20 contracts make native and cross-chain tokens available inside Setheu
- DNAR contract address: `0x0000000000000000000000000000000001000000`.
- DRAM contract address: `0x0000000000000000000000000000000001000001`.
- SETR contract address: `0x0000000000000000000000000000000001000002`.
- USDJ contract address: `0x0000000000000000000000000000000001000003`.
- EURJ contract address: `0x0000000000000000000000000000000001000004`.
- JPYJ contract address: `0x0000000000000000000000000000000001000005`.
- GBPJ contract address: `0x0000000000000000000000000000000001000006`.
- AUDJ contract address: `0x0000000000000000000000000000000001000007`.
- CADJ contract address: `0x0000000000000000000000000000000001000008`.
- CHFJ contract address: `0x0000000000000000000000000000000001000009`.
- SEKJ contract address: `0x0000000000000000000000000000000001000010`.
- SGDJ contract address: `0x0000000000000000000000000000000001000011`.
- SARJ contract address: `0x0000000000000000000000000000000001000012`.
- SETUSD contract address: `0x0000000000000000000000000000000001000003`.
- SETEUR contract address: `0x0000000000000000000000000000000001000004`.
- SETGBP contract address: `0x0000000000000000000000000000000001000005`.
- SETCHF contract address: `0x0000000000000000000000000000000001000006`.
- SETSAR contract address: `0x000000000000000000000000000000000100007`.

- RENBTC contract address: `0x0000000000000000000000000000000001000121`.

// TODO: Update bytecode
- LP_DNAR_SETR contract address: `0x0000000000000000000000010000000000000002`.
- LP_DRAM_SETR contract address: `0x0000000000000000000000010000000100000002`.
- LP_USDJ_SETR contract address: `0x0000000000000000000000010000000300000002`.
- LP_EURJ_SETR contract address: `0x0000000000000000000000010000000400000002`
- LP_JPYJ_SETR contract address: `0x0000000000000000000000010000000500000002`..
- LP_GBPJ_SETR contract address: `0x0000000000000000000000010000000600000002`.
- LP_AUDJ_SETR contract address: `0x0000000000000000000000010000000700000002`.
- LP_CADJ_SETR contract address: `0x0000000000000000000000010000000800000002`.
- LP_CHFJ_SETR contract address: `0x0000000000000000000000010000000900000002`.
- LP_SEKJ_SETR contract address: `0x0000000000000000000000010000001000000002`.
- LP_SGDJ_SETR contract address: `0x0000000000000000000000010000001100000002`.
- LP_SARJ_SETR contract address: `0x0000000000000000000000010000001200000002`.
- LP_SETUSD_SETR contract address: `0x0000000000000000000000010000000300000002`.
- LP_SETEUR_SETR contract address: `0x0000000000000000000000010000000400000002`
- LP_SETGBP_SETR contract address: `0x0000000000000000000000010000000600000002`.
- LP_SETCHF_SETR contract address: `0x0000000000000000000000010000000900000002`.
- LP_SETSAR_SETR contract address: `0x0000000000000000000000010000001200000002`.
- LP_RENBTC_SETR contract address: `0x0000000000000000000000010000012100000002`.

- LP_DNAR_SETR contract address: `0x0000000000000000000000010000000000000002`.
- LP_DRAM_SETR contract address: `0x0000000000000000000000010000000100000002`.
- LP_SETUSD_SETR contract address: `0x0000000000000000000000010000000300000002`.
- LP_SETEUR_SETR contract address: `0x0000000000000000000000010000000400000002`
- LP_SETGBP_SETR contract address: `0x0000000000000000000000010000000600000002`.
- LP_SETCHF_SETR contract address: `0x0000000000000000000000010000000900000002`.
- LP_SETSAR_SETR contract address: `0x0000000000000000000000010000001200000002`.
- LP_RENBTC_SETR contract address: `0x0000000000000000000000010000012100000002`.

```
Expand Down
20 changes: 10 additions & 10 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,31 @@ These ERC20 contracts make native and cross-chain tokens available inside Setheu
- DNAR contract address: `0x0000000000000000000000000000000001000000`.
- DRAM contract address: `0x0000000000000000000000000000000001000001`.
- SETR contract address: `0x0000000000000000000000000000000001000002`.
- USDJ contract address: `0x0000000000000000000000000000000001000003`.
- EURJ contract address: `0x0000000000000000000000000000000001000004`.
- SETUSD contract address: `0x0000000000000000000000000000000001000003`.
- SETEUR contract address: `0x0000000000000000000000000000000001000004`.
- JPYJ contract address: `0x0000000000000000000000000000000001000005`.
- GBPJ contract address: `0x0000000000000000000000000000000001000006`.
- SETGBP contract address: `0x0000000000000000000000000000000001000006`.
- AUDJ contract address: `0x0000000000000000000000000000000001000007`.
- CADJ contract address: `0x0000000000000000000000000000000001000008`.
- CHFJ contract address: `0x0000000000000000000000000000000001000009`.
- SETCHF contract address: `0x0000000000000000000000000000000001000009`.
- SEKJ contract address: `0x0000000000000000000000000000000001000010`.
- SGDJ contract address: `0x0000000000000000000000000000000001000011`.
- SARJ contract address: `0x0000000000000000000000000000000001000012`.
- SETSAR contract address: `0x0000000000000000000000000000000001000012`.

- RENBTC contract address: `0x0000000000000000000000000000000001000121`.

- LP_DNAR_SETR contract address: `0x0000000000000000000000010000000000000002`.
- LP_DRAM_SETR contract address: `0x0000000000000000000000010000000100000002`.
- LP_USDJ_SETR contract address: `0x0000000000000000000000010000000300000002`.
- LP_EURJ_SETR contract address: `0x0000000000000000000000010000000400000002`
- LP_SETUSD_SETR contract address: `0x0000000000000000000000010000000300000002`.
- LP_SETEUR_SETR contract address: `0x0000000000000000000000010000000400000002`
- LP_JPYJ_SETR contract address: `0x0000000000000000000000010000000500000002`..
- LP_GBPJ_SETR contract address: `0x0000000000000000000000010000000600000002`.
- LP_SETGBP_SETR contract address: `0x0000000000000000000000010000000600000002`.
- LP_AUDJ_SETR contract address: `0x0000000000000000000000010000000700000002`.
- LP_CADJ_SETR contract address: `0x0000000000000000000000010000000800000002`.
- LP_CHFJ_SETR contract address: `0x0000000000000000000000010000000900000002`.
- LP_SETCHF_SETR contract address: `0x0000000000000000000000010000000900000002`.
- LP_SEKJ_SETR contract address: `0x0000000000000000000000010000001000000002`.
- LP_SGDJ_SETR contract address: `0x0000000000000000000000010000001100000002`.
- LP_SARJ_SETR contract address: `0x0000000000000000000000010000001200000002`.
- LP_SETSAR_SETR contract address: `0x0000000000000000000000010000001200000002`.
- LP_RENBTC_SETR contract address: `0x0000000000000000000000010000012100000002`.

```
Expand Down
20 changes: 10 additions & 10 deletions contracts/utils/Address.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
export const DNAR: "0x0000000000000000000000000000000001000000";
export const DRAM: "0x0000000000000000000000000000000001000001";
export const SETR: "0x0000000000000000000000000000000001000002";
export const USDJ: "0x0000000000000000000000000000000001000003";
export const EURJ: "0x0000000000000000000000000000000001000004";
export const SETUSD: "0x0000000000000000000000000000000001000003";
export const SETEUR: "0x0000000000000000000000000000000001000004";
export const JPYJ: "0x0000000000000000000000000000000001000005";
export const GBPJ: "0x0000000000000000000000000000000001000006";
export const SETGBP: "0x0000000000000000000000000000000001000006";
export const AUDJ: "0x0000000000000000000000000000000001000007";
export const CADJ: "0x0000000000000000000000000000000001000008";
export const CHFJ: "0x0000000000000000000000000000000001000009";
export const SETCHF: "0x0000000000000000000000000000000001000009";
export const SEKJ: "0x0000000000000000000000000000000001000010";
export const SGDJ: "0x0000000000000000000000000000000001000011";
export const SARJ: "0x0000000000000000000000000000000001000012";
export const SETSAR: "0x0000000000000000000000000000000001000012";

export const RENBTC: "0x0000000000000000000000000000000001000121";

export const LP_DNAR_SETR: "0x0000000000000000000000010000000000000002";
export const LP_DRAM_SETR: "0x0000000000000000000000010000000100000002";
export const LP_USDJ_SETR: "0x0000000000000000000000010000000300000002";
export const LP_EURJ_SETR: "0x0000000000000000000000010000000400000002";
export const LP_SETUSD_SETR: "0x0000000000000000000000010000000300000002";
export const LP_SETEUR_SETR: "0x0000000000000000000000010000000400000002";
export const LP_JPYJ_SETR: "0x0000000000000000000000010000000500000002";
export const LP_GBPJ_SETR: "0x0000000000000000000000010000000600000002";
export const LP_SETGBP_SETR: "0x0000000000000000000000010000000600000002";
export const LP_AUDJ_SETR: "0x0000000000000000000000010000000700000002";
export const LP_CADJ_SETR: "0x0000000000000000000000010000000800000002";
export const LP_CHFJ_SETR: "0x0000000000000000000000010000000900000002";
export const LP_SETCHF_SETR: "0x0000000000000000000000010000000900000002";
export const LP_SEKJ_SETR: "0x0000000000000000000000010000001000000002";
export const LP_SGDJ_SETR: "0x0000000000000000000000010000001100000002";
export const LP_SARJ_SETR: "0x0000000000000000000000010000001200000002";
export const LP_SETSAR_SETR: "0x0000000000000000000000010000001200000002";
export const LP_RENBTC_SETR: "0x0000000000000000000000010000012100000002";

export const Token: "0x0000000000000000000000000000000000000800";
Expand Down
40 changes: 20 additions & 20 deletions contracts/utils/Address.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
const DNAR = '0x0000000000000000000000000000000001000000';
const DRAM = '0x0000000000000000000000000000000001000001';
const SETR = '0x0000000000000000000000000000000001000002';
const USDJ = '0x0000000000000000000000000000000001000003';
const EURJ = '0x0000000000000000000000000000000001000004';
const SETUSD = '0x0000000000000000000000000000000001000003';
const SETEUR = '0x0000000000000000000000000000000001000004';
const JPYJ = '0x0000000000000000000000000000000001000005';
const GBPJ = '0x0000000000000000000000000000000001000006';
const SETGBP = '0x0000000000000000000000000000000001000006';
const AUDJ = '0x0000000000000000000000000000000001000007';
const CADJ = '0x0000000000000000000000000000000001000008';
const CHFJ = '0x0000000000000000000000000000000001000009';
const SETCHF = '0x0000000000000000000000000000000001000009';
const SEKJ = '0x0000000000000000000000000000000001000010';
const SGDJ = '0x0000000000000000000000000000000001000011';
const SARJ = '0x0000000000000000000000000000000001000012';
const SETSAR = '0x0000000000000000000000000000000001000012';
const RENBTC = '0x0000000000000000000000000000000001000121';
const LP_DNAR_SETR = '0x0000000000000000000000010000000000000002';
const LP_DRAM_SETR = '0x0000000000000000000000010000000100000002';
const LP_USDJ_SETR = '0x0000000000000000000000010000000300000002';
const LP_EURJ_SETR = '0x0000000000000000000000010000000400000002';
const LP_SETUSD_SETR = '0x0000000000000000000000010000000300000002';
const LP_SETEUR_SETR = '0x0000000000000000000000010000000400000002';
const LP_JPYJ_SETR = '0x0000000000000000000000010000000500000002';
const LP_GBPJ_SETR = '0x0000000000000000000000010000000600000002';
const LP_SETGBP_SETR = '0x0000000000000000000000010000000600000002';
const LP_AUDJ_SETR = '0x0000000000000000000000010000000700000002';
const LP_CADJ_SETR = '0x0000000000000000000000010000000800000002';
const LP_CHFJ_SETR = '0x0000000000000000000000010000000900000002';
const LP_SETCHF_SETR = '0x0000000000000000000000010000000900000002';
const LP_SEKJ_SETR = '0x0000000000000000000000010000001000000002';
const LP_SGDJ_SETR = '0x0000000000000000000000010000001100000002';
const LP_SARJ_SETR = '0x0000000000000000000000010000001200000002';
const LP_SETSAR_SETR = '0x0000000000000000000000010000001200000002';
const LP_RENBTC_SETR = '0x0000000000000000000000010000012100000002';
const Token = '0x0000000000000000000000000000000000000800';
const StateRent = '0x0000000000000000000000000000000000000801';
Expand All @@ -35,29 +35,29 @@ module.exports = {
DNAR,
DRAM,
SETR,
USDJ,
EURJ,
SETUSD,
SETEUR,
JPYJ,
GBPJ,
SETGBP,
AUDJ,
CADJ,
CHFJ,
SETCHF,
SEKJ,
SGDJ,
SARJ,
SETSAR,
RENBTC,
LP_DNAR_SETR,
LP_DRAM_SETR,
LP_USDJ_SETR,
LP_EURJ_SETR,
LP_SETUSD_SETR,
LP_SETEUR_SETR,
LP_JPYJ_SETR,
LP_GBPJ_SETR,
LP_SETGBP_SETR,
LP_AUDJ_SETR,
LP_CADJ_SETR,
LP_CHFJ_SETR,
LP_SETCHF_SETR,
LP_SEKJ_SETR,
LP_SGDJ_SETR,
LP_SARJ_SETR,
LP_SETSAR_SETR,
LP_RENBTC_SETR,
Token,
StateRent,
Expand Down
20 changes: 10 additions & 10 deletions contracts/utils/Address.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ contract ADDRESS {
address public constant DNAR = 0x0000000000000000000000000000000001000000;
address public constant DRAM = 0x0000000000000000000000000000000001000001;
address public constant SETR = 0x0000000000000000000000000000000001000002;
address public constant USDJ = 0x0000000000000000000000000000000001000003;
address public constant EURJ = 0x0000000000000000000000000000000001000004;
address public constant SETUSD = 0x0000000000000000000000000000000001000003;
address public constant SETEUR = 0x0000000000000000000000000000000001000004;
address public constant JPYJ = 0x0000000000000000000000000000000001000005;
address public constant GBPJ = 0x0000000000000000000000000000000001000006;
address public constant SETGBP = 0x0000000000000000000000000000000001000006;
address public constant AUDJ = 0x0000000000000000000000000000000001000007;
address public constant CADJ = 0x0000000000000000000000000000000001000008;
address public constant CHFJ = 0x0000000000000000000000000000000001000009;
address public constant SETCHF = 0x0000000000000000000000000000000001000009;
address public constant SEKJ = 0x0000000000000000000000000000000001000010;
address public constant SGDJ = 0x0000000000000000000000000000000001000011;
address public constant SARJ = 0x0000000000000000000000000000000001000012;
address public constant SETSAR = 0x0000000000000000000000000000000001000012;
address public constant RENBTC = 0x0000000000000000000000000000000001000121;
address public constant LP_DNAR_SETR = 0x0000000000000000000000010000000000000002;
address public constant LP_DRAM_SETR = 0x0000000000000000000000010000000100000002;
address public constant LP_USDJ_SETR = 0x0000000000000000000000010000000300000002;
address public constant LP_EURJ_SETR = 0x0000000000000000000000010000000400000002;
address public constant LP_SETUSD_SETR = 0x0000000000000000000000010000000300000002;
address public constant LP_SETEUR_SETR = 0x0000000000000000000000010000000400000002;
address public constant LP_JPYJ_SETR = 0x0000000000000000000000010000000500000002;
address public constant LP_GBPJ_SETR = 0x0000000000000000000000010000000600000002;
address public constant LP_SETGBP_SETR = 0x0000000000000000000000010000000600000002;
address public constant LP_AUDJ_SETR = 0x0000000000000000000000010000000700000002;
address public constant LP_CADJ_SETR = 0x0000000000000000000000010000000800000002;
address public constant LP_CHFJ_SETR = 0x0000000000000000000000010000000900000002;
address public constant LP_SETCHF_SETR = 0x0000000000000000000000010000000900000002;
address public constant LP_SEKJ_SETR = 0x0000000000000000000000010000001000000002;
address public constant LP_SGDJ_SETR = 0x0000000000000000000000010000001100000002;
address public constant LP_SARJ_SETR = 0x0000000000000000000000010000001200000002;
address public constant LP_SETSAR_SETR = 0x0000000000000000000000010000001200000002;
address public constant LP_RENBTC_SETR = 0x0000000000000000000000010000012100000002;
address public constant Token = 0x0000000000000000000000000000000000000800;
address public constant StateRent = 0x0000000000000000000000000000000000000801;
Expand Down