Skip to content

Commit

Permalink
Add Backstage metadata (#750)
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill <[email protected]>
  • Loading branch information
vzctl and sept-en authored Jun 11, 2022
1 parent 81d589d commit 5fbae25
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: rainbow-bridge-public
description: Public Rainbow Bridge repository
spec:
targets:
- ./contracts/eth/nearbridge/.catalog-info.yaml
- ./contracts/eth/nearprover/.catalog-info.yaml
- ./contracts/near/eth-client/.catalog-info.yaml
- ./contracts/near/eth-prover/.catalog-info.yaml
47 changes: 47 additions & 0 deletions contracts/eth/nearbridge/.catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: ed25519-contract
description: |-
Verifies ED255519 signature in Ethereum.
It is expensive. Only used by watchdog in case an invalid block is posted.
tags:
- contract
- ethereum
links: []
annotations:
aurora.dev/security-tier: "1"
backstage.io/source-location: url:https://github.com/aurora-is-near/rainbow-bridge/blob/master/contracts/eth/nearbridge/contracts/Ed25519.sol
spec:
owner: bridge-team
type: contract
lifecycle: production
system: bridge-protocol
deployedAt:
- contract:ethereum/mainnet/0x88f975d5a1153ea92af66e7c4292576a329c04b6
interactsWith: []
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: near-light-client-on-ethereum
title: "NEAR Light Client on Ethereum"
description: |-
Implementation of NEAR Light Client in Ethereum. API: add_block To add blocks from NEAR into this contract. And blockHashes(index) return the block at this height. Only one block per epoch (12 hours) is required.
tags:
- contract
- ethereum
links: []
annotations:
aurora.dev/security-tier: "1"
backstage.io/source-location: url:https://github.com/aurora-is-near/rainbow-bridge/blob/master/contracts/eth/nearbridge/contracts/NearBridge.sol
spec:
owner: bridge-team
type: contract
lifecycle: production
system: bridge-protocol
deployedAt:
- contract:ethereum/mainnet/0x3be7df8db39996a837041bb8ee0dadf60f767038
interactsWith:
- relayer:ethereum/mainnet/0x015e634c7c1311a9034220c28d3d12b7f710a3b1
23 changes: 23 additions & 0 deletions contracts/eth/nearprover/.catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: prover-on-ethereum
title: "Prover on Ethereum"
description: |-
Takes proof of a Receipt from NEAR blockchain and checks if it's valid and included on-chain.
tags:
- contract
- ethereum
links: []
annotations:
aurora.dev/security-tier: "1"
spec:
owner: bridge-team
type: contract
lifecycle: production
system: bridge-protocol
deployedAt:
- contract:ethereum/mainnet/0x051ad3f020274910065dcb421629cd2e6e5b46c4
interactsWith:
- contract:ethereum/mainnet/0x3be7df8db39996a837041bb8ee0dadf60f767038
21 changes: 21 additions & 0 deletions contracts/near/eth-client/.catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: ethereum-light-client-on-near
description: Ethereum Light Client on NEAR
tags:
- contract
- near
links: []
annotations:
aurora.dev/security-tier: "1"
spec:
owner: bridge-team
type: contract
lifecycle: production
system: bridge-protocol
deployedAt:
- contract:near/mainnet/client.bridge.near
interactsWith:
- relayer:near/mainnet/relayer.bridge.near
21 changes: 21 additions & 0 deletions contracts/near/eth-prover/.catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: prover-on-near
description: Prover on NEAR
tags:
- contract
- near
links: []
annotations:
aurora.dev/security-tier: "1"
spec:
owner: bridge-team
type: contract
lifecycle: production
system: bridge-protocol
deployedAt:
- contract:near/mainnet/prover.bridge.near
interactsWith:
- contract:near/mainnet/client.bridge.near

0 comments on commit 5fbae25

Please sign in to comment.