Skip to content

Commit

Permalink
feat: return addresses of all contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan committed Jun 15, 2023
1 parent 351a6f9 commit cc74084
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/deploy-topos-msg-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const main = async function (...args: string[]) {
4_000_000
)

await processContract(
const erc20MessagingAddresss = await processContract(
'ERC20Messaging',
wallet,
erc20MessagingJSON,
Expand All @@ -98,6 +98,13 @@ const main = async function (...args: string[]) {
)

setSubnetId(toposCoreProxyAddress, wallet, subnetId)

return `
export TOPOS_CORE_CONTRACT_ADDRESS=${toposCoreAddress}
export TOPOS_CORE_PROXY_CONTRACT_ADDRESS=${toposCoreProxyAddress}
export TOKEN_DEPLOYER_CONTRACT_ADDRESS=${tokenDeployerAddress}
export ERC20_MESSAGING_CONTRACT_ADDRESS=${erc20MessagingAddresss}
`
}

const sanitizeHexString = function (hexString: string) {
Expand Down

0 comments on commit cc74084

Please sign in to comment.