Skip to content

Commit

Permalink
fix: networks values
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthiermyr committed Nov 21, 2023
1 parent 2f223b0 commit a9ab7ab
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 70 deletions.
12 changes: 6 additions & 6 deletions deploy/5_deploy_consensys_staking_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { isDeployed } from "../ts_utils/index";

const getMaxFeeBps = (network: string): number => {
switch (network) {
case "goerli_dev_consensys":
case "goerli_uat_consensys":
return 5000;
case "goerli_dev_consensys":
return 5000;
Expand All @@ -17,7 +17,7 @@ const getMaxFeeBps = (network: string): number => {

const getMaxOperatorFeeBps = (network: string): number => {
switch (network) {
case "goerli_dev_consensys":
case "goerli_uat_consensys":
return 5000;
case "goerli_dev_consensys":
return 5000;
Expand All @@ -29,25 +29,25 @@ const getMaxOperatorFeeBps = (network: string): number => {

const getFeeBps = (network: string): number => {
switch (network) {
case "goerli_dev_consensys":
case "goerli_uat_consensys":
return 500;
case "goerli_dev_consensys":
return 500;

default:
return 700;
return 500;
}
};

const getOperatorFeeBps = (network: string): number => {
switch (network) {
case "goerli_dev_consensys":
case "goerli_uat_consensys":
return 500;
case "goerli_dev_consensys":
return 500;

default:
return 0;
return 500;
}
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xE476Ffec20DCC226800eec3f9De4561a575a8a48",
"address": "0x3C0270258EEEA9d12D53AaA71D82Bfc650Ee0a25",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -170,19 +170,19 @@
"type": "receive"
}
],
"transactionHash": "0x9d2c1788256d0ed6aed2c3fe384c51e10cb2ea25f5846d85a7fc6d5b64eb440b",
"transactionHash": "0x67e3014991edf9df3e4d5adb4994d10f09a910acde0f290e8ad3d4a88aa314af",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0xE476Ffec20DCC226800eec3f9De4561a575a8a48",
"transactionIndex": 20,
"contractAddress": "0x3C0270258EEEA9d12D53AaA71D82Bfc650Ee0a25",
"transactionIndex": 6,
"gasUsed": "765166",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x6d4fe8762e5f805f0f88b58f20efc8be3bcc0e24b0a4cebb098f735f888db458",
"transactionHash": "0x9d2c1788256d0ed6aed2c3fe384c51e10cb2ea25f5846d85a7fc6d5b64eb440b",
"blockHash": "0xcbcba59806165a3f9930d14f51432bb5a6db0a512b40299bf57e5236c7dab6ad",
"transactionHash": "0x67e3014991edf9df3e4d5adb4994d10f09a910acde0f290e8ad3d4a88aa314af",
"logs": [],
"blockNumber": 10083145,
"cumulativeGasUsed": "4141315",
"blockNumber": 10083181,
"cumulativeGasUsed": "7755435",
"status": 1,
"byzantium": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xdAD31667359686DdDE1c7d14e35294E3372B471c",
"address": "0x7125B76040b4fe797C6D08e90E6ee8606f8621f4",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -170,19 +170,19 @@
"type": "receive"
}
],
"transactionHash": "0xed6c9d41284e38a9cb51e24a982d8733a990e9c5d5605f30ab3810fbdd5d6cf6",
"transactionHash": "0xcf72fd48e6e8d1d3b364dabd611bb2b4ad5c7c3b9fa143d81a48f508463fb316",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0xdAD31667359686DdDE1c7d14e35294E3372B471c",
"transactionIndex": 52,
"contractAddress": "0x7125B76040b4fe797C6D08e90E6ee8606f8621f4",
"transactionIndex": 9,
"gasUsed": "642423",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x9016618dea92ff8f01060e6de5b968607ff7199eebfd5d4aedd4635f268c970b",
"transactionHash": "0xed6c9d41284e38a9cb51e24a982d8733a990e9c5d5605f30ab3810fbdd5d6cf6",
"blockHash": "0x566fc7f21c64d5f56e242fdf8e9209a727d433b2accced9861fe0f6ee314e4a1",
"transactionHash": "0xcf72fd48e6e8d1d3b364dabd611bb2b4ad5c7c3b9fa143d81a48f508463fb316",
"logs": [],
"blockNumber": 10083147,
"cumulativeGasUsed": "10846351",
"blockNumber": 10083183,
"cumulativeGasUsed": "4021915",
"status": 1,
"byzantium": true
},
Expand Down
16 changes: 8 additions & 8 deletions deployments/goerli_dev_consensys/FeeRecipient.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x5C470ab9F77dDaBAA165271980C08a70F4B2E9B3",
"address": "0x01Bd0ad2435463C78fD3DC815152EBbAeb0dd744",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -66,19 +66,19 @@
"type": "receive"
}
],
"transactionHash": "0x0c349e3a7e9343b3443ba33142e3e0877fc9c1ac43068cab7ae705c7d3af976d",
"transactionHash": "0x311bf1e7a16cd4bc8a048579fa728d5eb460bdf7179a7f9916894d1fba57908e",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x5C470ab9F77dDaBAA165271980C08a70F4B2E9B3",
"transactionIndex": 25,
"contractAddress": "0x01Bd0ad2435463C78fD3DC815152EBbAeb0dd744",
"transactionIndex": 6,
"gasUsed": "233362",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x04b4ab5dba1ce9e23f24d542f3d21f93fb951d3ef2e659e3bd4040ab98fa5836",
"transactionHash": "0x0c349e3a7e9343b3443ba33142e3e0877fc9c1ac43068cab7ae705c7d3af976d",
"blockHash": "0x2c274b36bcf62aacf75bf3a093a7260003dc2d6966618460812b0371de937c53",
"transactionHash": "0x311bf1e7a16cd4bc8a048579fa728d5eb460bdf7179a7f9916894d1fba57908e",
"logs": [],
"blockNumber": 10083144,
"cumulativeGasUsed": "4797132",
"blockNumber": 10083180,
"cumulativeGasUsed": "2486980",
"status": 1,
"byzantium": true
},
Expand Down
16 changes: 8 additions & 8 deletions deployments/goerli_dev_consensys/StakingContract.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x2D55ed067711CC7C91993DfE3b32e046B74e5e87",
"address": "0xEe05f4b89120394B76b850f4d84D0b593c86080F",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -1258,19 +1258,19 @@
"type": "receive"
}
],
"transactionHash": "0xad750533bb4b9cb935cf97ef3e524a95c4dbd251db7d579721c823030659be6b",
"transactionHash": "0x6e74ac2175a8bf09b157a4c75756d906db15befab395f4978a78241e53e06e67",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x2D55ed067711CC7C91993DfE3b32e046B74e5e87",
"transactionIndex": 16,
"contractAddress": "0xEe05f4b89120394B76b850f4d84D0b593c86080F",
"transactionIndex": 41,
"gasUsed": "5075909",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x550e14f05fb81b9cfc3d6896fe75f8e3f1e85ea6032792b7d195baa5056b7f06",
"transactionHash": "0xad750533bb4b9cb935cf97ef3e524a95c4dbd251db7d579721c823030659be6b",
"blockHash": "0x1e92fe517ae214cd7b99ebdcdaa373dad8f1eca9b7f48e675b47fcc8979aa35a",
"transactionHash": "0x6e74ac2175a8bf09b157a4c75756d906db15befab395f4978a78241e53e06e67",
"logs": [],
"blockNumber": 10083149,
"cumulativeGasUsed": "7830660",
"blockNumber": 10083185,
"cumulativeGasUsed": "15005616",
"status": 1,
"byzantium": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x798BBb059aedb3687fFFE946550CD702ceadFA08",
"address": "0x894532B2bA82D59A06acfF3d52383EA0d5886B03",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -170,19 +170,19 @@
"type": "receive"
}
],
"transactionHash": "0x09666c4c16c7a927ec7273b1c58c4cbe6b8ffd58f79e38ac332158fb997a6c47",
"transactionHash": "0xd44046202c99e0fcd6e8374a186e4b7eda8954e03deee790005f8f69ae73e79a",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x798BBb059aedb3687fFFE946550CD702ceadFA08",
"transactionIndex": 18,
"contractAddress": "0x894532B2bA82D59A06acfF3d52383EA0d5886B03",
"transactionIndex": 37,
"gasUsed": "765166",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x64fb697c78a26f7c9124892bd3c8a6dae1e66bab0781a95a8429a0ce74568d50",
"transactionHash": "0x09666c4c16c7a927ec7273b1c58c4cbe6b8ffd58f79e38ac332158fb997a6c47",
"blockHash": "0x0cf78fa599cf04eb8f2d83534d873bfca3a682d574b82f9d3dcff5f2d5f08b31",
"transactionHash": "0xd44046202c99e0fcd6e8374a186e4b7eda8954e03deee790005f8f69ae73e79a",
"logs": [],
"blockNumber": 10083137,
"cumulativeGasUsed": "4749583",
"blockNumber": 10083169,
"cumulativeGasUsed": "5396699",
"status": 1,
"byzantium": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x7D168c6551391953e13337AE196A6DAf9725C095",
"address": "0x71654C033b2655b4fB581C6f39c9676a1E9b6F1d",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -170,19 +170,19 @@
"type": "receive"
}
],
"transactionHash": "0xdaf8870142f7188f9ca82f5f75ffd691b2c1661de337178f9317799f25a44741",
"transactionHash": "0x9db9f24fc2326c54a079c570dfada13ed626b9c661c38532207d993ddbf6b686",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x7D168c6551391953e13337AE196A6DAf9725C095",
"transactionIndex": 9,
"contractAddress": "0x71654C033b2655b4fB581C6f39c9676a1E9b6F1d",
"transactionIndex": 11,
"gasUsed": "642423",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xc2a1c9936831665280fa8af57c1578e67c5d157419a74310bf13e86cb085f5db",
"transactionHash": "0xdaf8870142f7188f9ca82f5f75ffd691b2c1661de337178f9317799f25a44741",
"blockHash": "0x55a6e5b49541efe0b23a51a734ad39853f91a3651a7a3fb17dc8f680c0bffa7e",
"transactionHash": "0x9db9f24fc2326c54a079c570dfada13ed626b9c661c38532207d993ddbf6b686",
"logs": [],
"blockNumber": 10083139,
"cumulativeGasUsed": "8762208",
"blockNumber": 10083172,
"cumulativeGasUsed": "1291049",
"status": 1,
"byzantium": true
},
Expand Down
16 changes: 8 additions & 8 deletions deployments/goerli_uat_consensys/FeeRecipient.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x4377715372B1Fa379f6C6457168B5Df8441A863B",
"address": "0x3B1d13287f93DE41116E773C9Bab52b94d74bE30",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -66,19 +66,19 @@
"type": "receive"
}
],
"transactionHash": "0x9ec9ba94a04f4d79dee89f4737a3fa9ad9cc41fa2a0c461a862c5070f4038813",
"transactionHash": "0x745697868bdcb526865c0212f5553f44f6d1fbe26ee4e98d495856047591b474",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x4377715372B1Fa379f6C6457168B5Df8441A863B",
"transactionIndex": 54,
"contractAddress": "0x3B1d13287f93DE41116E773C9Bab52b94d74bE30",
"transactionIndex": 33,
"gasUsed": "233362",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xfe0ceb770e821185c29841a8c8e38345cad577618b992d2ba1676dc5834ad0ab",
"transactionHash": "0x9ec9ba94a04f4d79dee89f4737a3fa9ad9cc41fa2a0c461a862c5070f4038813",
"blockHash": "0x180d19d52cb7b327e8a12115aabcc6a6ef25cf36ed23eb25ea7514f6c0e27932",
"transactionHash": "0x745697868bdcb526865c0212f5553f44f6d1fbe26ee4e98d495856047591b474",
"logs": [],
"blockNumber": 10083136,
"cumulativeGasUsed": "5198211",
"blockNumber": 10083168,
"cumulativeGasUsed": "4374334",
"status": 1,
"byzantium": true
},
Expand Down
16 changes: 8 additions & 8 deletions deployments/goerli_uat_consensys/StakingContract.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x701f3E698775D9b2701482B83176000Ce0d5923d",
"address": "0x019e754FB0D750775efe12e5b89fBB42245ddfd0",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -1258,19 +1258,19 @@
"type": "receive"
}
],
"transactionHash": "0xb1cc6046142c272604a0e488da059e2c33273159a8186029ea92b0d0601a96db",
"transactionHash": "0x7e6111a4338498ed90727fa20d410b63641e76abcb01b183a5b10ced04808c52",
"receipt": {
"to": null,
"from": "0xBcc3816221d083D8E72F2CB14959F24d89406810",
"contractAddress": "0x701f3E698775D9b2701482B83176000Ce0d5923d",
"transactionIndex": 10,
"contractAddress": "0x019e754FB0D750775efe12e5b89fBB42245ddfd0",
"transactionIndex": 32,
"gasUsed": "5075909",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xbce13b7de6f371804ce7420f0272c0a3569a7b5431c157c6edfccdfa52637f19",
"transactionHash": "0xb1cc6046142c272604a0e488da059e2c33273159a8186029ea92b0d0601a96db",
"blockHash": "0xb81f11e32df13938c3ba48cc69e6448a79630f9169965096aae7ca30546e42fb",
"transactionHash": "0x7e6111a4338498ed90727fa20d410b63641e76abcb01b183a5b10ced04808c52",
"logs": [],
"blockNumber": 10083141,
"cumulativeGasUsed": "5971132",
"blockNumber": 10083174,
"cumulativeGasUsed": "9630989",
"status": 1,
"byzantium": true
},
Expand Down

0 comments on commit a9ab7ab

Please sign in to comment.