Skip to content

Commit

Permalink
uses new ENS registry. see: GHSA-8f9f-pc5v-9r5h
Browse files Browse the repository at this point in the history
  • Loading branch information
decanus authored and flexsurfer committed Feb 6, 2020
1 parent dcfac1c commit 7c5decb
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions src/status_im/ethereum/ens.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

;; this is the addresses of ens registries for the different networks
(def ens-registries
{:mainnet "0x314159265dd8dbb310642f98f50c066173c1259b"
:testnet "0x112234455c3a32fd11230c42e7bccd4a84e02010"
:rinkeby "0xe7410170f87102DF0055eB195163A03B7F2Bff4A"})
{:mainnet "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
:testnet "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
:rinkeby "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"})

(def default-namehash "0000000000000000000000000000000000000000000000000000000000000000")
(def default-address "0x0000000000000000000000000000000000000000")
Expand Down Expand Up @@ -163,4 +163,4 @@
(defn get-owner
[registry ens-name cb]
{:pre [(is-valid-eth-name? ens-name)]}
(owner registry ens-name cb))
(owner registry ens-name cb))
4 changes: 2 additions & 2 deletions translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"ens-show-username": "عرض اسم مستخدم ENS الخاص بي في الدردشات",
"ens-terms-header": "شروط تسجيل الاسم",
"ens-terms-point-1": "تودع الأموال لمدة 1 سنة. سيتم قفل SNT الخاص بك ، ولكن لا تنفق.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (ENS Registry).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (ENS Registry).",
"ens-terms-point-2": "بعد عام واحد ، يمكنك تحرير الاسم واسترداد مقدمك ، أو عدم اتخاذ أي إجراء للحفاظ على الاسم.",
"ens-terms-point-3": "إذا تغيرت شروط العقد-علي سبيل المثال Status التي تجعل ترقيات العقد-يحق للمستخدم الإفراج عن اسم المستخدم بغض الزمن عن الوقت المحتفظ به.",
"ens-terms-point-4": "لا يمكن لوحده تحكم العقد الوصول إلى أموالك المودعة. يمكن نقلها فقط إلى العنوان الذي أرسلها.",
Expand Down Expand Up @@ -1206,4 +1206,4 @@
"your-data-belongs-to-you-description": "لا يمكن أن تساعدك Status في استرداد الحساب المتعدد إذا فقدت العبارة الأولية. أنت المسؤول عن أمان بياناتك ، والنسخ الاحتياطي للعبارة الأساسية هو أفضل حماية.",
"your-recovery-phrase": "العبارة الأولية الخاصة بك",
"your-recovery-phrase-description": "هذه هي العبارة الأولية الخاصة بك. يمكنك استخدامها لإثبات أن هذه هي محفظتك. يمكنك فقط أن ترى ذلك مرة واحدة! اكتبها على الورق واحتفظ بها في مكان آمن. ستحتاج إليها إذا فقدت أو أعدت تثبيت محفظتك."
}
}
2 changes: 1 addition & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
"ens-show-username": "Show my ENS username in chats",
"ens-terms-header": "Terms of name registration",
"ens-terms-point-1": "Funds are deposited for 1 year. Your SNT will be locked, but not spent.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (ENS Registry).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (ENS Registry).",
"ens-terms-point-2": "After 1 year, you can release the name and get your deposit back, or take no action to keep the name.",
"ens-terms-point-3": "If terms of the contract change — e.g. Status makes contract upgrades — user has the right to release the username regardless of time held.",
"ens-terms-point-4": "The contract controller cannot access your deposited funds. They can only be moved back to the address that sent them.",
Expand Down
2 changes: 1 addition & 1 deletion translations/es_419.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"ens-show-username": "Mostrar mi nombre de usuario ENS en los chats",
"ens-terms-header": "Términos de registro de nombre",
"ens-terms-point-1": "Los fondos se depositan por 1 año. Tu SNT se bloqueará, pero no se gastará.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (Registro ENS).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (Registro ENS).",
"ens-terms-point-2": "Después de 1 año, puedes liberar el nombre y recuperar tu depósito, o no tomar ninguna acción para mantener el nombre.",
"ens-terms-point-3": "Si los términos del contrato cambian – por ejemplo, Status realiza actualizaciones del contrato – el usuario tiene derecho a liberar el nombre de usuario independientemente del tiempo retenido.",
"ens-terms-point-4": "El controlador del contrato no puede acceder a tus fondos depositados. Sólo pueden ser devueltos a la dirección que los envió.",
Expand Down
2 changes: 1 addition & 1 deletion translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"ens-show-username": "Mostra il mio nome utente ENS nelle chat",
"ens-terms-header": "Termini di registrazione del nome",
"ens-terms-point-1": "I fondi vengono depositati per 1 anno. Il tuo SNT sarà bloccato, ma non speso.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (Registro ENS).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (Registro ENS).",
"ens-terms-point-2": "Dopo 1 anno, puoi rilasciare il nome e riavere il tuo deposito oppure non agire per mantenerlo.",
"ens-terms-point-3": "Se i termini del contratto cambiano - ad es. Status effettua aggiornamenti del contratto - l'utente ha il diritto di rilasciare il nome utente indipendentemente dal tempo trascorso.",
"ens-terms-point-4": "Il controllore del contract non può accedere ai fondi depositati. Possono solo essere spostati indietro all'indirizzo che li ha inviati.",
Expand Down
2 changes: 1 addition & 1 deletion translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
"ens-show-username": "チャットで自分のENSユーザー名を表示する",
"ens-terms-header": "ENSユーザー名登録の規約",
"ens-terms-point-1": "資金は1年間デポジットされます。あなたのSNTはロックされますが消費はされません。",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (ENSレジストリ).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (ENSレジストリ).",
"ens-terms-point-2": "1年後にENSユーザー名を手放し、デポジットを取り戻すことができます。何もしなければ名前は維持されます。",
"ens-terms-point-3": "もしStatusがコントラクトをアップグレードするなど、コントラクトの規約が変更された場合はユーザーはデポジット期間に関係なくENS名を手放す権利を持ちます。",
"ens-terms-point-4": "コントラクトの管理者はあなたがデポジットした資金にアクセスすることはできません。コントラクトは資金を送信元のアドレスに送り返すことしかできません。",
Expand Down
2 changes: 1 addition & 1 deletion translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
"ens-show-username": "채팅창에 내 ENS 이름 표시",
"ens-terms-header": "이름 등록 약관",
"ens-terms-point-1": "계약금은 1년 동안 예치됩니다. 여러분의 SNT는 잠기게 되며, 별도로 지출되지 않습니다.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (ENS 레지스트리).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (ENS 레지스트리).",
"ens-terms-point-2": "1년 후, 등록한 이름의 계약을 해지하고 보증금을 돌려받을 수 있습니다. 이름을 유지하기 위해 별도의 조치를 할 필요는 없습니다.",
"ens-terms-point-3": "스테이터스가 컨트랙트를 업그레이드 하는 등으로 이용 약관을 변경하는 경우, 사용자는 남은 기간에 상관 없이 계약한 이름을 해지할 수 있습니다.",
"ens-terms-point-4": "계약 관리자는 사용자의 계약금에 접근 할 수 없습니다. 계약금은 등록된 주소로만 반환됩니다.",
Expand Down
2 changes: 1 addition & 1 deletion translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
"ens-show-username": "Показать моё имя пользователя ENS в чатах",
"ens-terms-header": "Условия регистрации имени",
"ens-terms-point-1": "Средства депонируются на 1 год. Ваши SNT будут заблокированы, но не потрачены.",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b (Реестр ENS).",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e (Реестр ENS).",
"ens-terms-point-2": "Через 1 год вы можете освободить имя и получить свой депозит обратно или ничего не делать и тогда имя останется вашим.",
"ens-terms-point-3": "Если условия контракта меняются (например, Status обновляет контракт), то пользователь имеет право освободить имя пользователя без учета времени прошедшего с момента его регистрации.",
"ens-terms-point-4": "Контролер контракта не может получить доступ к вашим депонированным средствам. Их можно переместить только обратно на адрес, который их отправил.",
Expand Down
2 changes: 1 addition & 1 deletion translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"ens-show-username": "在聊天中显示我的ENS用户名",
"ens-terms-header": "名称注册条款",
"ens-terms-point-1": "资金存入1年。您的 snt 将被锁定, 但不会被花费。",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b(ENS注册表)。",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e(ENS注册表)。",
"ens-terms-point-2": "1 年后,您可以释放名称并赎回您的押金,或者不采取任何措施保留该名称。",
"ens-terms-point-3": "如果合约条款发生变化(例如,Status升级合约),用户有权释放用户名,无论持有时间长短。",
"ens-terms-point-4": "合约控制者无法访问您缴纳的押金。它们只能原路返回发送它们的钱包地址。",
Expand Down
2 changes: 1 addition & 1 deletion translations/zh_Hans_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"ens-show-username": "在聊天中显示我的ENS用户名",
"ens-terms-header": "名称注册条款",
"ens-terms-point-1": "资金存入1年。您的 snt 将被锁定, 但不会被花费。",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b(ENS注册表)。",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e(ENS注册表)。",
"ens-terms-point-2": "1 年后,您可以释放名称并赎回您的押金,或者不采取任何措施保留该名称。",
"ens-terms-point-3": "如果合约条款发生变化(例如,Status升级合约),用户有权释放用户名,无论持有时间长短。",
"ens-terms-point-4": "合约控制者无法访问您缴纳的押金。它们只能原路返回发送它们的钱包地址。",
Expand Down
2 changes: 1 addition & 1 deletion translations/zh_hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"ens-show-username": "在聊天中显示我的ENS用户名",
"ens-terms-header": "名称注册条款",
"ens-terms-point-1": "资金存入1年。您的 snt 将被锁定, 但不会被花费。",
"ens-terms-point-10": "0x314159265dd8dbb310642f98f50c066173c1259b(ENS注册表)。",
"ens-terms-point-10": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e(ENS注册表)。",
"ens-terms-point-2": "1 年后,您可以释放名称并赎回您的押金,或者不采取任何措施保留该名称。",
"ens-terms-point-3": "如果合约条款发生变化(例如,Status升级合约),用户有权释放用户名,无论持有时间长短。",
"ens-terms-point-4": "合约控制者无法访问您缴纳的押金。它们只能原路返回发送它们的钱包地址。",
Expand Down

0 comments on commit 7c5decb

Please sign in to comment.