bosonprotocol / contracts

[DEPRECATED] Boson Protocol v1
GNU Lesser General Public License v3.0
69 stars 17 forks source link

build: enhance deploy-gate.ts script #345

Closed dohaki closed 2 years ago

dohaki commented 2 years ago

This enhances the deploy-gate.ts script to add multiple gate/token pairs into a addresses file like

{
  "chainId": 3,
  "env": "testing",
  "protocolVersion": "1.1.0-rc.1",
  "gates": [
    {
      "token": "0xf47E4fd9d2eBd6182F597eE12E487CcA37FC524c",
      "tokenType": "0",
      "gate": "0x77669a59220C1f015A8CcB8e9ad7C44c32738110"
    },
    {
      "token": "0xf47E4fd9d2eBd6182F597eE12E487CcA37FC524c",
      "tokenType": "0",
      "gate": "0xED239Ab6FEEEd5A005196A03E605aE734c68e288"
    }
  ]
}

The corresponding PR for the instances repo is this one https://github.com/bosonprotocol/instances/pull/4.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.