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

adding in new deployment and scripts to wire up #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
113 changes: 113 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov
coverage.json

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

.DS_Store
package-lock.json
.idea
cache/
artifacts/
.openzeppelin/

138 changes: 138 additions & 0 deletions constants/appConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"avalanche-mainnet": {
"name": "JoeTokenProxyOFT",
"sendVersion": 2,
"receiveVersion": 2,
"remoteConfigs": [
{
"remoteChain": "bsc-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 20,
"relayer": "0xCD2E3622d483C7Dc855F72e5eafAdCD577ac78B4",
"outboundProofType": 1,
"outboundBlockConfirmations": 12,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "arbitrum-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 20,
"relayer": "0xCD2E3622d483C7Dc855F72e5eafAdCD577ac78B4",
"outboundProofType": 1,
"outboundBlockConfirmations": 12,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "mantle-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 2,
"relayer": "0xCD2E3622d483C7Dc855F72e5eafAdCD577ac78B4",
"outboundProofType": 2,
"outboundBlockConfirmations": 12,
"oracle": "0x5a54fe5234E811466D5366846283323c954310B2"
}
]
},
"bsc-mainnet": {
"name": "JoeTokenOFT",
"sendVersion": 2,
"receiveVersion": 2,
"remoteConfigs": [
{
"remoteChain": "avalanche-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 12,
"relayer": "0xA27A2cA24DD28Ce14Fb5f5844b59851F03DCf182",
"outboundProofType": 1,
"outboundBlockConfirmations": 20,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "arbitrum-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 20,
"relayer": "0xA27A2cA24DD28Ce14Fb5f5844b59851F03DCf182",
"outboundProofType": 1,
"outboundBlockConfirmations": 20,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "mantle-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 2,
"relayer": "0xA27A2cA24DD28Ce14Fb5f5844b59851F03DCf182",
"outboundProofType": 2,
"outboundBlockConfirmations": 20,
"oracle": "0x5a54fe5234E811466D5366846283323c954310B2"
}
]
},
"arbitrum-mainnet": {
"name": "JoeTokenOFT",
"sendVersion": 2,
"receiveVersion": 2,
"remoteConfigs": [
{
"remoteChain": "avalanche-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 12,
"relayer": "0x177d36dBE2271A4DdB2Ad8304d82628eb921d790",
"outboundProofType": 1,
"outboundBlockConfirmations": 20,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "bsc-mainnet",
"inboundProofLibraryVersion": 1,
"inboundBlockConfirmations": 20,
"relayer": "0x177d36dBE2271A4DdB2Ad8304d82628eb921d790",
"outboundProofType": 1,
"outboundBlockConfirmations": 20,
"oracle": "0x150A58e9E6BF69ccEb1DBA5ae97C166DC8792539"
},
{
"remoteChain": "mantle-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 2,
"relayer": "0x177d36dBE2271A4DdB2Ad8304d82628eb921d790",
"outboundProofType": 2,
"outboundBlockConfirmations": 20,
"oracle": "0xA0Cc33Dd6f4819D473226257792AFe230EC3c67f"
}
]
},
"mantle-mainnet": {
"name": "JoeTokenOFT",
"sendVersion": 1,
"receiveVersion": 1,
"remoteConfigs": [
{
"remoteChain": "avalanche-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 12,
"relayer": "0xcb566e3B6934Fa77258d68ea18E931fa75e1aaAa",
"outboundProofType": 2,
"outboundBlockConfirmations": 2,
"oracle": "0xAaB5A48CFC03Efa9cC34A2C1aAcCCB84b4b770e4"
},
{
"remoteChain": "bsc-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 20,
"relayer": "0xcb566e3B6934Fa77258d68ea18E931fa75e1aaAa",
"outboundProofType": 2,
"outboundBlockConfirmations": 2,
"oracle": "0xAaB5A48CFC03Efa9cC34A2C1aAcCCB84b4b770e4"
},
{
"remoteChain": "arbitrum-mainnet",
"inboundProofLibraryVersion": 2,
"inboundBlockConfirmations": 20,
"relayer": "0xcb566e3B6934Fa77258d68ea18E931fa75e1aaAa",
"outboundProofType": 2,
"outboundBlockConfirmations": 2,
"oracle": "0xAaB5A48CFC03Efa9cC34A2C1aAcCCB84b4b770e4"
}
]
}
}
1 change: 0 additions & 1 deletion constants/endpoint_abi.json

This file was deleted.

12 changes: 0 additions & 12 deletions constants/environments.json

This file was deleted.

14 changes: 14 additions & 0 deletions constants/gnosisConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"arbitrum-mainnet": {
"safeAddress": "0xf1ec4E41B49582aF7E00D6525AF78111F37b94a8",
"url": "https://safe-transaction.mainnet.gnosis.io/"
},
"bsc-mainnet": {
"safeAddress": "0x2d5C468Ec1DCcF3FdEb47211df726496D113C10F",
"url": "https://safe-transaction.bsc.gnosis.io/"
},
"avalanche-mainnet": {
"safeAddress": "0x2fbB61a10B96254900C03F1644E9e1d2f5E76DD2",
"url": "https://safe-transaction.avalanche.gnosis.io/"
}
}
9 changes: 5 additions & 4 deletions constants/layerzeroEndpoints.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"hardhat": "0x0000000000000000000000000000000000000000",

"ethereum": "0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675",
"bsc": "0x3c2269811836af69497E5F486A85D7316753cf62",
"avalanche": "0x3c2269811836af69497E5F486A85D7316753cf62",
"arbitrum": "0x3c2269811836af69497E5F486A85D7316753cf62",
"ethereum-mainnet": "0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675",
"bsc-mainnet": "0x3c2269811836af69497E5F486A85D7316753cf62",
"avalanche-mainnet": "0x3c2269811836af69497E5F486A85D7316753cf62",
"arbitrum-mainnet": "0x3c2269811836af69497E5F486A85D7316753cf62",
"mantle-mainnet": "0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7",

"bsc-testnet": "0x6Fcb97553D41516Cb228ac03FdC8B9a0a9df04A1",
"fuji": "0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706",
Expand Down
Loading