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

chore: scripts to deploy contribute staking #36

Merged
merged 1 commit into from
Oct 28, 2024
Merged
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
24 changes: 23 additions & 1 deletion scripts/deployment/globals_base_mainnet_contribute.json
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"base","networkURL":"https://mainnet.base.org","gasPriceInGwei":"2","bridgeMediatorAddress":"0xE49CB081e8d96920C38aA7AB90cb0294ab4Bc8EA","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","fallbackHandlerAddress":"0x017062a1dE2FE6b99BE3d9d37841FeD19F573804","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","serviceRegistryTokenUtilityAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","serviceManagerTokenAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80","stakingNativeTokenAddress":"","stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a","agentId":"6","configHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","livenessRatio":"700000000000000","contributeActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","activityChecker":""},"contributeAgentAddress":""}
{
"contractVerification":true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just to deploy contribute ecosystem contracts, let's keep the format like this

"useLedger":true,
"derivationPath":"m/44'/60'/2'/0/0",
"providerName":"base",
"networkURL":"https://mainnet.base.org",
"gasPriceInGwei":"2",
"bridgeMediatorAddress":"0xE49CB081e8d96920C38aA7AB90cb0294ab4Bc8EA",
"gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938",
"gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC",
"fallbackHandlerAddress":"0x017062a1dE2FE6b99BE3d9d37841FeD19F573804",
"olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416",
"multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000",
"serviceRegistryAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE",
"serviceRegistryTokenUtilityAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5",
"serviceManagerTokenAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b",
"gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac",
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"agentId":"",
"configHash":"",
"contributeActivityCheckerAddress":""
}
42 changes: 42 additions & 0 deletions scripts/deployment/globals_base_mainnet_contribute_alpha.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script needs to know the contributorsProxy address

"contractVerification":true,
"useLedger":true,
"derivationPath":"m/44'/60'/2'/0/0",
"providerName":"base",
"networkURL":"https://mainnet.base.org",
"gasPriceInGwei":"2",
"bridgeMediatorAddress":"0xE49CB081e8d96920C38aA7AB90cb0294ab4Bc8EA",
"gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938",
"gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC",
"fallbackHandlerAddress":"0x017062a1dE2FE6b99BE3d9d37841FeD19F573804",
"olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416",
"multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000",
"serviceRegistryAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE",
"serviceRegistryTokenUtilityAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5",
"serviceManagerTokenAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b",
"gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac",
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"contributorsProxyAddress":"",
"livenessRatio":"11574074074074",
"contributeActivityCheckerAddress":"",
"stakingParams":
{
"metadataHash":"",
"maxNumServices":"100",
"rewardsPerSecond":"4398148148152",
"minStakingDeposit":"50000000000000000000",
"minNumStakingPeriods":"3",
"maxNumInactivityPeriods":"3",
"livenessPeriod":"86400",
"timeForEmissions":"2592000",
"numAgentInstances":"1",
"agentIds":["14"],
"threshold":"0",
"configHash":"0x0000000000000000000000000000000000000000000000000000000000000000",
"proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000",
"serviceRegistry":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE",
"activityChecker":""
},
"stakingTokenInstanceAddress":""
}
Loading