Skip to content

Commit

Permalink
Merge pull request #42 from valory-xyz/staking_deployment
Browse files Browse the repository at this point in the history
chore: deployment of contributes
  • Loading branch information
DavidMinarsch authored Oct 30, 2024
2 parents 78b9b60 + 09b1b03 commit 1317c06
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// Transaction signing and execution
console.log("11. EOA to change manager in ContributorsProxy");
console.log("You are signing the following transaction: ContributorsProxy.connect(EOA).changeManager()");
const result = await contributorsProxy.changeManager(contributeManagerAddress, { gasPrice });
const result = await contributorsProxy.connect(EOA).changeManager(contributeManagerAddress, { gasPrice });

// Transaction details
console.log("Contract deployment: ContributorsProxy");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// Transaction signing and execution
console.log("12. EOA to set contribute agent statuses in ContributorsProxy");
console.log("You are signing the following transaction: ContributorsProxy.connect(EOA).setContributeAgentStatuses()");
const result = await contributorsProxy.setContributeAgentStatuses([contributeAgentAddress], [true], { gasPrice });
const result = await contributorsProxy.connect(EOA).setContributeAgentStatuses([contributeAgentAddress], [true], { gasPrice });

// Transaction details
console.log("Contract deployment: ContributorsProxy");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// Transaction signing and execution
console.log("13. EOA to change owner in ContributorsProxy");
console.log("You are signing the following transaction: ContributorsProxy.connect(EOA).changeOwner()");
const result = await contributorsProxy.changeOwner(bridgeMediatorAddress, { gasPrice });
const result = await contributorsProxy.connect(EOA).changeOwner(bridgeMediatorAddress, { gasPrice });

// Transaction details
console.log("Contract deployment: ContributorsProxy");
Expand Down
5 changes: 4 additions & 1 deletion scripts/deployment/globals_base_mainnet_contribute.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"agentId":"41",
"configHash":"0xd984ec4ebedd513d8132366f2525aa2258eaddb1cf5abdafb0d0fb7dd87ce1a1"
"configHash":"0xd984ec4ebedd513d8132366f2525aa2258eaddb1cf5abdafb0d0fb7dd87ce1a1",
"contributorsAddress":"0x6e7f594f680f7aBad18b7a63de50F0FeE47dfD06",
"contributorsProxyAddress":"0x4be7A91e67be963806FeFA9C1FD6C53DfC358d94",
"contributeManagerAddress":"0xaea9ef993d8a1A164397642648DF43F053d43D85"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac",
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"contributorsProxyAddress":"",
"contributorsProxyAddress":"0x4be7A91e67be963806FeFA9C1FD6C53DfC358d94",
"livenessRatio":"11574074074074",
"contributeActivityCheckerAddress":"",
"stakingParams":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac",
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"contributorsProxyAddress":"",
"contributorsProxyAddress":"0x4be7A91e67be963806FeFA9C1FD6C53DfC358d94",
"livenessRatio":"57870370370370",
"contributeActivityCheckerAddress":"",
"stakingParams":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac",
"stakingTokenAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80",
"stakingFactoryAddress":"0x1cEe30D08943EB58EFF84DD1AB44a6ee6FEff63a",
"contributorsProxyAddress":"",
"contributorsProxyAddress":"0x4be7A91e67be963806FeFA9C1FD6C53DfC358d94",
"livenessRatio":"115740740740740",
"contributeActivityCheckerAddress":"",
"stakingParams":
Expand Down

0 comments on commit 1317c06

Please sign in to comment.