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

Release v1.0.0 #135

Merged
merged 40 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
842253b
implement next/link and edit AppSwitch styling (#55)
aidan-starke Feb 22, 2022
7ed137d
PageBackdrop component (#57)
ken-futureverse Feb 23, 2022
b935113
Reduce the size of the graphic elements (#60)
ken-futureverse Feb 23, 2022
54dfa3c
hot fix connect wallet btn (#70)
eupston Feb 23, 2022
b5caf0d
Split Pool Button in two Buttons (#59)
eupston Feb 24, 2022
a617605
merge fetchAssetBalances & getBridgeBalances (#58)
aidan-starke Feb 24, 2022
3f98f06
hotfix remove console.log
aidan-starke Feb 24, 2022
5b5df7a
Aidan/assigned issues (#79)
aidan-starke Feb 25, 2022
26edafd
Improve `Connect CENNZnet` flow (#80)
ken-futureverse Feb 27, 2022
bf736a6
Remove `sass` package (#81)
ken-futureverse Feb 27, 2022
39eeb93
`UserAgentProvider` and `CENNZApiProvider` test cases (#82)
ken-futureverse Feb 28, 2022
dec25da
Add `BridgeProvider` test case (#85)
aidan-starke Feb 28, 2022
a1b9036
Add `PoolProvider` test case (#87)
aidan-starke Feb 28, 2022
5059672
Feature/78 (#83)
aidan-starke Feb 28, 2022
fa208d9
Bug Fixes (#93)
aidan-starke Mar 1, 2022
6db744a
update Bridge to use css from `@emotion/react` (#95)
aidan-starke Mar 1, 2022
4033e81
Update contracts from peg-fix (#90)
aidan-starke Mar 1, 2022
5239a91
Ethereum Tokens and CENNZnet Assets (#99)
ken-futureverse Mar 2, 2022
dfcab56
Global Transaction Modal (#96)
eupston Mar 2, 2022
8a87e96
Fix navigation issues (#103)
ken-futureverse Mar 3, 2022
2851773
Global modal tweaks (#104)
ken-futureverse Mar 3, 2022
5f6a2cc
Update/token picker (#105)
aidan-starke Mar 3, 2022
39924fc
fixed issue #65 (#107)
eupston Mar 3, 2022
8ddd5d0
Updated Bridge Account Picker (#106)
eupston Mar 6, 2022
ba97f1d
add wCENNZ for Nikau (#111)
aidan-starke Mar 6, 2022
72d1e3a
Emotion Css Refactor (#115)
eupston Mar 7, 2022
4763f98
Bump follow-redirects from 1.14.7 to 1.14.9 (#113)
dependabot[bot] Mar 7, 2022
e1b975f
Update `Swap` section (#116)
ken-futureverse Mar 11, 2022
a9078b3
Wallet update (#117)
ken-futureverse Mar 11, 2022
a238771
Update `Pool` section (#119)
ken-futureverse Mar 22, 2022
88e9b4e
Update yarn v3 (#118)
aidan-starke Mar 22, 2022
ec830d5
Fix remaining issues in Pool (#120)
ken-futureverse Mar 23, 2022
73eb148
Update `Bridge` section (#124)
ken-futureverse Mar 27, 2022
a1689d6
Fix build issues (#128)
ken-futureverse Mar 27, 2022
800500f
ensure chain if user has previously connected but switched networks (…
aidan-starke Mar 28, 2022
07d9525
Auxiliary update (#125)
ken-futureverse Mar 29, 2022
4ecb2ca
Feature/manual historic withdrawal (#123)
aidan-starke Mar 29, 2022
5296fd1
Minor updates (#132)
ken-futureverse Mar 29, 2022
2bdff83
Define onTokenChange for receive token (#133)
aidan-starke Mar 29, 2022
e4b1766
Pre-Release v1.0.0 (#134)
ken-futureverse Mar 29, 2022
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
8 changes: 6 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
NEXT_PUBLIC_SUPPORTED_ASSETS=16000,16001,17002
NEXT_PUBLIC_CENNZ_ASSET_ID=16000
NEXT_PUBLIC_CPAY_ASSET_ID=16001
NEXT_PUBLIC_ALLOWED_ASSET_IDS=16000,16001
NEXT_PUBLIC_API_URL="wss://nikau.centrality.me/public/ws"
NEXT_PUBLIC_ETH_CHAIN_ID=42
NEXT_PUBLIC_ETH_CHAIN_ID=42
NEXT_PUBLIC_BRIDGE_RELAYER_URL="https://bridge-contracts.nikau.centrality.me"
NEXT_PUBLIC_GA_ID="G-8YJT9T1YTT"
10 changes: 7 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
NEXT_PUBLIC_SUPPORTED_ASSETS=16000,16001,17002
NEXT_PUBLIC_API_URL="wss://nikau.centrality.me/public/ws"
NEXT_PUBLIC_ETH_CHAIN_ID=42
NEXT_PUBLIC_CENNZ_ASSET_ID=1
NEXT_PUBLIC_CPAY_ASSET_ID=2
NEXT_PUBLIC_ALLOWED_ASSET_IDS=1,2
NEXT_PUBLIC_API_URL="wss://cennznet.unfrastructure.io/public/ws"
NEXT_PUBLIC_ETH_CHAIN_ID=1
NEXT_PUBLIC_BRIDGE_RELAYER_URL="https://bridge-contracts.centralityapp.com"
NEXT_PUBLIC_GA_ID="G-8YJT9T1YTT"
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
${{ runner.os }}-yarn-
- name: lint
run: |
yarn install --frozen-lockfile
yarn install --immutable
yarn lint
yarn test
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,53 @@ yarn-error.log*

# typescript
*.tsbuildinfo

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production

# vercel
.vercel

# typescript
*.tsbuildinfo

# webstorm
/.idea

# yarn
.yarn/*
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.next
out
out
.yarn/*
546 changes: 546 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

Large diffs are not rendered by default.

785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0.cjs
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# CHANGELOG

## [Unreleased]

## [1.0.0] - 2022-03-30

- Initial release of the App Hub
139 changes: 122 additions & 17 deletions artifacts/ERC20Peg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[
{
"inputs": [
{ "internalType": "address", "name": "_bridge", "type": "address" }
{
"internalType": "address",
"name": "_bridge",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
Expand Down Expand Up @@ -37,6 +41,19 @@
"name": "Deposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Endow",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -84,14 +101,26 @@
{
"inputs": [],
"name": "CENNZ_TOKEN_ADDRESS",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ETH_RESERVED_TOKEN_ADDRESS",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
Expand Down Expand Up @@ -132,14 +161,28 @@
{
"inputs": [],
"name": "cennzDepositsActive",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "tokenType", "type": "address" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
{
"internalType": "address",
"name": "tokenType",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "cennznetAddress",
Expand All @@ -154,14 +197,33 @@
{
"inputs": [],
"name": "depositsActive",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "endow",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
Expand All @@ -188,7 +250,11 @@
},
{
"inputs": [
{ "internalType": "address", "name": "newOwner", "type": "address" }
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
Expand All @@ -197,20 +263,53 @@
},
{
"inputs": [
{ "internalType": "address", "name": "tokenType", "type": "address" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
{ "internalType": "address", "name": "recipient", "type": "address" },
{
"internalType": "address",
"name": "tokenType",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"components": [
{ "internalType": "uint256", "name": "eventId", "type": "uint256" },
{
"internalType": "uint256",
"name": "eventId",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "validatorSetId",
"type": "uint32"
},
{ "internalType": "uint8[]", "name": "v", "type": "uint8[]" },
{ "internalType": "bytes32[]", "name": "r", "type": "bytes32[]" },
{ "internalType": "bytes32[]", "name": "s", "type": "bytes32[]" }
{
"internalType": "uint8[]",
"name": "v",
"type": "uint8[]"
},
{
"internalType": "bytes32[]",
"name": "r",
"type": "bytes32[]"
},
{
"internalType": "bytes32[]",
"name": "s",
"type": "bytes32[]"
},
{
"internalType": "address[]",
"name": "validators",
"type": "address[]"
}
],
"internalType": "struct CENNZnetEventProof",
"name": "proof",
Expand All @@ -225,7 +324,13 @@
{
"inputs": [],
"name": "withdrawalsActive",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
Expand Down
Loading