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

Migrate to ethers v6 #1

Open
wants to merge 2 commits into
base: 56-prevent-redraw-on-fresh-block-data
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
9 changes: 9 additions & 0 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"arrowParens": "avoid",
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true,
"semi": false,
"tabWidth": 4,
"useTabs": true
}
2 changes: 1 addition & 1 deletion client/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar"]
"recommendations": ["Vue.volar"]
}
212 changes: 106 additions & 106 deletions client/libraries/galactic/networkDeployments.ts
Original file line number Diff line number Diff line change
@@ -1,108 +1,108 @@
const deployments = {
//Ropsten
//"3": {
// 'AvatarControls': '0xD4D17A31D6F2aa295D1B3aF91D15A91Bc8CcDF06',
// 'Credits': '0xa20b6ba2da8f24324AeF5b8fdD0cD33CfDDE4839',
// 'Galaxy': '0x73668aF7cC654634cc4EE81da6938416Eb45F4f6',
// 'PlanetTokens': '0xd4d3a49864567f97d0e206AA9929bcDc3B81FaCC',
// 'ShipTokens': '0x4614A110a5c0D0D6A72d762432723654B25b12Ee'
//},
//Rinkeby
//"4": {
// 'AvatarControls': '0x8f1dC434E3D13f294B8FDe928B6235156a310239',
// 'Credits': '0xCB039aC09cd82aE7166B64d95D6050Fd8c2e5f09',
// 'Galaxy': '0x08d4e18F80fC910a46EF730130B32cE062AC4129',
// 'PlanetTokens': '0x30E6faCdD830700A08Bb5Fc15630c64658F1aaA0',
// 'ShipTokens': '0x46c55B6eAd1efFd5313236D1B5b7b8ca6F95325D'
//},
//Binance Test
"97": {
'AvatarControls': '0xc48E08D9367CbC7ebFA363A9467b3c9da286C99D',
'Credits': '0x44Dc0Bc59AdFa0F8BEcCA7bF76166be21Cf2c9D7',
'Galaxy': '0x7224299E42180251C90621038bDCC8658589f685',
'PlanetTokens': '0x27Fb3Be712E0FDEC4667b1B067Af04b74e458f3B',
'ShipTokens': '0x1fc61Ed0dc2E3340c31839c8A1A87bd9e1fA3CFD'
},
//Metis
"599": {
'AvatarControls':'0x2460ED133589F70254f18277F42EDF539221C747',
'Credits':'0x327daFE07e66150d10a060bFD57b75996b940911import +swap ⇄',
'Galaxy':'0xdd86445C07e140f284eE10A4c39dF7C568d88865',
'PlanetTokens':'0x1C67109Cf6407E3304066d12b24cD10309151456',
'ShipTokens':'0x0f93785633fc437fDFcC707cc8c222F753486Ebc'
},
//Moonriver Alpha
"1285": {
'AvatarControls': '0x2460ED133589F70254f18277F42EDF539221C747',
'Credits': '0x271c7Be1236c579c8e2EBc90eE5B169730c42B3f',
'Galaxy': '0xC761B452726680704Fc7079B12e3e690665B91Ca',
'PlanetTokens': '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
'ShipTokens': '0xc820005F1EEA88EF4541398F3305d620E5F441d0'
},
//Moonbase Alpha
"1287": {
'AvatarControls': '0x9ede095a708438E1063776d02a2dc730D029976b',
'Credits': '0xAAfE231A3BD8f82E9046b00BF8dFe81d6D6AC0a6',
'Galaxy': '0x97A5be2aeA8397d7d3A82eC542d302852C1C1D28',
'PlanetTokens': '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
'ShipTokens': '0xaa13867F1481579219187C587BB1a12FA5aBA5d1'
},
//Bobabase
"1297": {
'AvatarControls': '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
'Credits': '0x9795e4E1fcD5d81399D6A7Acc404fD9Fd91c5747',
'Galaxy': '0x2fceAd2954C53Cdc35a2E2D3C8d9d11a847D2842',
'PlanetTokens': '0x4dEdce8EDCD60ED9dA91b55c1E9e76e23830535d',
'ShipTokens': '0x7a8950c192842820e0C12841DD52187896Db6030'
},
//Godwoken
"71401": {
'Credits':'0x44Dc0Bc59AdFa0F8BEcCA7bF76166be21Cf2c9D7',
'PlanetTokens':'0x5B6F0E2EcAc6452AB5Ab2822De2834E30258421E',
'ShipTokens':'0x68a3b9A352eD572ae0a955Ce1C1efa18978C7269',
'AvatarControls':'0x7Aa32471800488b9eC3693c35332CCbAfBb669AC',
'Galaxy':'0xcA364F2EFE7c87f58A9988F7512A86b4b474D419'
},
//Mumbai
"80001": {
'AvatarControls': '0x137E576D7A22935e0FE33108Af39757a2957938B',
'Credits': '0x6aC535C8D271F031a1360176ae24656Cf887647A',
'Galaxy': '0x8a782b354248b5F2C0F515536c98d47a6148Ac1D',
'PlanetTokens': '0xfb110D0F342A059Ed498B39fa053283Ff53a42dD',
'ShipTokens': '0x07aD013095B67A732a2B565554825145291169b3'
},
//Arbitrum
"421611": {
'AvatarControls': '0x1bde28Bf4e0224A72EbC309992B0A5b32262b47A',
'Credits': '0x7a8950c192842820e0C12841DD52187896Db6030',
'Galaxy': '0x911873281d209bD8b8C06282aB25b3b953267471',
'PlanetTokens': '0x2fceAd2954C53Cdc35a2E2D3C8d9d11a847D2842',
'ShipTokens': '0xd748Eb47D5D9521C19EE8D08BC606893616ed764'
},
//Metal
"381932": {
'AvatarControls':'0x2460ED133589F70254f18277F42EDF539221C747',
'Credits':'0xAAfE231A3BD8f82E9046b00BF8dFe81d6D6AC0a6',
'Galaxy':'0x0f93785633fc437fDFcC707cc8c222F753486Ebc',
'PlanetTokens':'0x982c6607390f260235b9e6E6E2a156567F91CDD4',
'ShipTokens':'0x9d5A16F2f7CB152CD0fc29f2659c77ACc808fb8a',
},
//Sepolia
"11155111": {
'AvatarControls': '0x1bde28Bf4e0224A72EbC309992B0A5b32262b47A',
'Credits': '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
'Galaxy': '0xdd86445C07e140f284eE10A4c39dF7C568d88865',
'PlanetTokens': '0xc820005F1EEA88EF4541398F3305d620E5F441d0',
'ShipTokens': '0x0f93785633fc437fDFcC707cc8c222F753486Ebc'
},
//Harmony
//"1666700000": {
// 'AvatarControls': '0xFab77fA380F2694A74C6Aae9dE90DE2426f0F85b',
// 'Credits': '0x9d5A16F2f7CB152CD0fc29f2659c77ACc808fb8a',
// 'Galaxy': '0xd63D3C8d6833359Fc093e9D3C769BD13108AD946',
// 'PlanetTokens': '0x97A5be2aeA8397d7d3A82eC542d302852C1C1D28',
// 'ShipTokens': '0x58e60385A8883B3AA1539a0b969eC2EAd537589E'
//},
const deployments = {
//Ropsten
//"3": {
// 'AvatarControls': '0xD4D17A31D6F2aa295D1B3aF91D15A91Bc8CcDF06',
// 'Credits': '0xa20b6ba2da8f24324AeF5b8fdD0cD33CfDDE4839',
// 'Galaxy': '0x73668aF7cC654634cc4EE81da6938416Eb45F4f6',
// 'PlanetTokens': '0xd4d3a49864567f97d0e206AA9929bcDc3B81FaCC',
// 'ShipTokens': '0x4614A110a5c0D0D6A72d762432723654B25b12Ee'
//},
//Rinkeby
//"4": {
// 'AvatarControls': '0x8f1dC434E3D13f294B8FDe928B6235156a310239',
// 'Credits': '0xCB039aC09cd82aE7166B64d95D6050Fd8c2e5f09',
// 'Galaxy': '0x08d4e18F80fC910a46EF730130B32cE062AC4129',
// 'PlanetTokens': '0x30E6faCdD830700A08Bb5Fc15630c64658F1aaA0',
// 'ShipTokens': '0x46c55B6eAd1efFd5313236D1B5b7b8ca6F95325D'
//},
//Binance Test
'97': {
AvatarControls: '0xc48E08D9367CbC7ebFA363A9467b3c9da286C99D',
Credits: '0x44Dc0Bc59AdFa0F8BEcCA7bF76166be21Cf2c9D7',
Galaxy: '0x7224299E42180251C90621038bDCC8658589f685',
PlanetTokens: '0x27Fb3Be712E0FDEC4667b1B067Af04b74e458f3B',
ShipTokens: '0x1fc61Ed0dc2E3340c31839c8A1A87bd9e1fA3CFD',
},
//Metis
'599': {
AvatarControls: '0x2460ED133589F70254f18277F42EDF539221C747',
Credits: '0x327daFE07e66150d10a060bFD57b75996b940911import +swap ⇄',
Galaxy: '0xdd86445C07e140f284eE10A4c39dF7C568d88865',
PlanetTokens: '0x1C67109Cf6407E3304066d12b24cD10309151456',
ShipTokens: '0x0f93785633fc437fDFcC707cc8c222F753486Ebc',
},
//Moonriver Alpha
'1285': {
AvatarControls: '0x2460ED133589F70254f18277F42EDF539221C747',
Credits: '0x271c7Be1236c579c8e2EBc90eE5B169730c42B3f',
Galaxy: '0xC761B452726680704Fc7079B12e3e690665B91Ca',
PlanetTokens: '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
ShipTokens: '0xc820005F1EEA88EF4541398F3305d620E5F441d0',
},
//Moonbase Alpha
'1287': {
AvatarControls: '0x9ede095a708438E1063776d02a2dc730D029976b',
Credits: '0xAAfE231A3BD8f82E9046b00BF8dFe81d6D6AC0a6',
Galaxy: '0x97A5be2aeA8397d7d3A82eC542d302852C1C1D28',
PlanetTokens: '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
ShipTokens: '0xaa13867F1481579219187C587BB1a12FA5aBA5d1',
},
//Bobabase
'1297': {
AvatarControls: '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
Credits: '0x9795e4E1fcD5d81399D6A7Acc404fD9Fd91c5747',
Galaxy: '0x2fceAd2954C53Cdc35a2E2D3C8d9d11a847D2842',
PlanetTokens: '0x4dEdce8EDCD60ED9dA91b55c1E9e76e23830535d',
ShipTokens: '0x7a8950c192842820e0C12841DD52187896Db6030',
},
//Godwoken
'71401': {
Credits: '0x44Dc0Bc59AdFa0F8BEcCA7bF76166be21Cf2c9D7',
PlanetTokens: '0x5B6F0E2EcAc6452AB5Ab2822De2834E30258421E',
ShipTokens: '0x68a3b9A352eD572ae0a955Ce1C1efa18978C7269',
AvatarControls: '0x7Aa32471800488b9eC3693c35332CCbAfBb669AC',
Galaxy: '0xcA364F2EFE7c87f58A9988F7512A86b4b474D419',
},
//Mumbai
'80001': {
AvatarControls: '0x137E576D7A22935e0FE33108Af39757a2957938B',
Credits: '0x6aC535C8D271F031a1360176ae24656Cf887647A',
Galaxy: '0x8a782b354248b5F2C0F515536c98d47a6148Ac1D',
PlanetTokens: '0xfb110D0F342A059Ed498B39fa053283Ff53a42dD',
ShipTokens: '0x07aD013095B67A732a2B565554825145291169b3',
},
//Arbitrum
'421611': {
AvatarControls: '0x1bde28Bf4e0224A72EbC309992B0A5b32262b47A',
Credits: '0x7a8950c192842820e0C12841DD52187896Db6030',
Galaxy: '0x911873281d209bD8b8C06282aB25b3b953267471',
PlanetTokens: '0x2fceAd2954C53Cdc35a2E2D3C8d9d11a847D2842',
ShipTokens: '0xd748Eb47D5D9521C19EE8D08BC606893616ed764',
},
//Metal
'381932': {
AvatarControls: '0x2460ED133589F70254f18277F42EDF539221C747',
Credits: '0xAAfE231A3BD8f82E9046b00BF8dFe81d6D6AC0a6',
Galaxy: '0x0f93785633fc437fDFcC707cc8c222F753486Ebc',
PlanetTokens: '0x982c6607390f260235b9e6E6E2a156567F91CDD4',
ShipTokens: '0x9d5A16F2f7CB152CD0fc29f2659c77ACc808fb8a',
},
//Sepolia
'11155111': {
AvatarControls: '0x1bde28Bf4e0224A72EbC309992B0A5b32262b47A',
Credits: '0x3093022a0bfD02cFf56CD5B87809027BF88731cE',
Galaxy: '0xdd86445C07e140f284eE10A4c39dF7C568d88865',
PlanetTokens: '0xc820005F1EEA88EF4541398F3305d620E5F441d0',
ShipTokens: '0x0f93785633fc437fDFcC707cc8c222F753486Ebc',
},
//Harmony
//"1666700000": {
// 'AvatarControls': '0xFab77fA380F2694A74C6Aae9dE90DE2426f0F85b',
// 'Credits': '0x9d5A16F2f7CB152CD0fc29f2659c77ACc808fb8a',
// 'Galaxy': '0xd63D3C8d6833359Fc093e9D3C769BD13108AD946',
// 'PlanetTokens': '0x97A5be2aeA8397d7d3A82eC542d302852C1C1D28',
// 'ShipTokens': '0x58e60385A8883B3AA1539a0b969eC2EAd537589E'
//},
}

export default deployments
export default deployments
Loading