Skip to content

Commit

Permalink
Release 2.4.1 - address and abis across all chains (#939)
Browse files Browse the repository at this point in the history
* Config updates

* always compile

* Handle missing artifacts error

* increase max backfill data

* Handle missing artifacts error

* log backfilling progress

* avoid forked provider during data collection

* fix versions and chainid

* Mumbai test addresses

* handle pd client verification

* goerli role assignment

* avoid division by zero

* Adjust metaTxHandler so it can be initialized

* Updated mumbai metatx address

* Goerli test addresses

* goerli ABIs

* goerli -> sepolia

* Deploy boson price discovery client during first deployment

* Sepolia test addresses

* Remove goerli abis and addresses

* fix sepolia chainid in package.json

* Unit tests - price discovery offer

* Prevent silent mint of existing tokens

* Fix failing unit test

* Enable "rewrapping"

* prapare for amoy deployment [no ci]

* Sepolia testnet addresses

* store AccessController constructor args

* Mumbai stagin addresses

* Sepolia staging addresses

* Wait confirmation when approving metaTx functions

* dry-run add missing roles

* Fix invalid input

* increase ether top-up in the dry run

* migration script

* Update package.json

* mumbai test addresses

* mumbai staging addresses

* sepolia test addresses

* sepolia staging addresses

* amoy test addresses

* Ethereum mainnet

* fix package.lock

* use old gas pricing

* Polygon addresses

* reduce fee buffer

* Polygon addresses

* temp comment out the migration script

* uncomment migration script

* Polygon addresses

* use tag in migration script

* Update boson logic addresses

* amoy test addresses

* Amoy staging addresses

* update protocol parameters for future deployments

* amoy okLink explorer verification
  • Loading branch information
zajck authored Apr 9, 2024
1 parent a0a2aee commit 174ae30
Show file tree
Hide file tree
Showing 74 changed files with 36,677 additions and 1,969 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ DEPLOYER_ETHERSCAN_API_KEY=000000000000000000000000000000000000000
# Polygonscan API for verifying contracts on polygonscan
DEPLOYER_POLYGONSCAN_API_KEY=000000000000000000000000000000000000000

# okLink API for verifying contracts on okLink
DEPLOYER_OKLINK_API_KEY=00000000-0000-0000-0000-000000000000

# Coinmarketcap API for reporting up to date gas price estimates for deployment and function calls
GAS_REPORTER_COINMARKETCAP_API_KEY=000000000000000000000000000000000000000

Expand Down
4 changes: 2 additions & 2 deletions addresses/1-mainnet-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 1,
"network": "mainnet",
"env": "prod",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -216,7 +216,7 @@
},
{
"name": "BosonVoucher Logic",
"address": "0x501081D252b265fDaAe4aAfA07dB80BEe09818f9",
"address": "0xa6cCC9d1198c5f48c26BC6B1971f209C44250b12",
"args": [
"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693"
],
Expand Down
16 changes: 8 additions & 8 deletions addresses/11155111-sepolia-staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 11155111,
"network": "sepolia",
"env": "staging",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -208,19 +208,19 @@
"interfaceId": "0xb3e4e803"
},
{
"name": "BosonVoucher Logic",
"address": "0x830a82eB2868C9099F6ed26273F4bFb55CB9f8d7",
"name": "BosonVoucher Beacon",
"address": "0xee7e9342B908A57cDDD0d43FE2462688DCcAf9eA",
"args": [
"0xbdeA59c8801658561a16fF58D68FC2b198DE4E93"
"0x26f643746cbc918b46c2d47edca68c4a6c98ebe6",
"0x830a82eB2868C9099F6ed26273F4bFb55CB9f8d7"
],
"interfaceId": ""
},
{
"name": "BosonVoucher Beacon",
"address": "0xee7e9342B908A57cDDD0d43FE2462688DCcAf9eA",
"name": "BosonVoucher Logic",
"address": "0x34fCfD10A8381fd13F5d6d17B876bB94f8564A61",
"args": [
"0x26f643746cbc918b46c2d47edca68c4a6c98ebe6",
"0x830a82eB2868C9099F6ed26273F4bFb55CB9f8d7"
"0xbdeA59c8801658561a16fF58D68FC2b198DE4E93"
],
"interfaceId": ""
}
Expand Down
16 changes: 8 additions & 8 deletions addresses/11155111-sepolia-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 11155111,
"network": "sepolia",
"env": "test",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -208,19 +208,19 @@
"interfaceId": "0xb3e4e803"
},
{
"name": "BosonVoucher Logic",
"address": "0x3dB93Af53e31D17C2715B31835bCd0175179cD0f",
"name": "BosonVoucher Beacon",
"address": "0xaCbaf088C1D7E14aF68E739c5cc2039F20911889",
"args": [
"0xbdeA59c8801658561a16fF58D68FC2b198DE4E93"
"0x7de418a7ce94debd057c34ebac232e7027634ade",
"0x3dB93Af53e31D17C2715B31835bCd0175179cD0f"
],
"interfaceId": ""
},
{
"name": "BosonVoucher Beacon",
"address": "0xaCbaf088C1D7E14aF68E739c5cc2039F20911889",
"name": "BosonVoucher Logic",
"address": "0x5FF36Ee3a85883b3b6A1CCA081565814c838c41A",
"args": [
"0x7de418a7ce94debd057c34ebac232e7027634ade",
"0x3dB93Af53e31D17C2715B31835bCd0175179cD0f"
"0xbdeA59c8801658561a16fF58D68FC2b198DE4E93"
],
"interfaceId": ""
}
Expand Down
4 changes: 2 additions & 2 deletions addresses/137-polygon-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 137,
"network": "polygon",
"env": "prod",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -219,7 +219,7 @@
},
{
"name": "BosonVoucher Logic",
"address": "0x72f92782FFa7d6b2dcdCFcF25B6dB4FC3F8aE7B0",
"address": "0x1711057874b7b591f00ad309d174245a8c1545ee",
"args": [
"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8"
],
Expand Down
4 changes: 2 additions & 2 deletions addresses/80001-mumbai-staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 80001,
"network": "mumbai",
"env": "staging",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -219,7 +219,7 @@
},
{
"name": "BosonVoucher Logic",
"address": "0x443Ee3BF52E932495d35Ab4Ebcb25DC2e98c3EC5",
"address": "0x906397e15b0662f284b378A2856716477615B14d",
"args": [
"0x69015912AA33720b842dCD6aC059Ed623F28d9f7"
],
Expand Down
4 changes: 2 additions & 2 deletions addresses/80001-mumbai-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 80001,
"network": "mumbai",
"env": "test",
"protocolVersion": "2.4.0",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
Expand Down Expand Up @@ -222,7 +222,7 @@
},
{
"name": "BosonVoucher Logic",
"address": "0xfBCDb9f6aB8b4AAe69DD5779D8031ea5113be518",
"address": "0x93D32B2C1b581a3991F48a7c8F36017E373b3f66",
"args": [
"0x69015912AA33720b842dCD6aC059Ed623F28d9f7"
],
Expand Down
228 changes: 228 additions & 0 deletions addresses/80002-amoy-staging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
{
"chainId": 80002,
"network": "amoy",
"env": "staging",
"protocolVersion": "2.4.1",
"contracts": [
{
"name": "AccessController",
"address": "0x92c45979a38aa16daced5470d7f976e9e7ba6b58",
"args": [
"0x2a91A0148EE62fA638bE38C7eE05c29a3e568dD8"
],
"interfaceId": ""
},
{
"name": "DiamondLoupeFacet",
"address": "0xb517a2aee8bbfbf038d27d4451c46469b229a1e6",
"args": [],
"interfaceId": "0x48e2b093"
},
{
"name": "DiamondCutFacet",
"address": "0x3751e1dfbe3ed4ae595d80f4138aaee7337a78f2",
"args": [],
"interfaceId": "0x1f931c1c"
},
{
"name": "ERC165Facet",
"address": "0x77cd8a9ad93a5a95ce746e104ebf1710f8beb993",
"args": [],
"interfaceId": "0x2ae6ea10"
},
{
"name": "ProtocolDiamond",
"address": "0x26f643746cbc918b46c2d47edca68c4a6c98ebe6",
"args": [
"0x92c45979a38aa16daced5470d7f976e9e7ba6b58",
[
[
"0xb517a2aee8bbfbf038d27d4451c46469b229a1e6",
0,
[
"0xcdffacc6",
"0x52ef6b2c",
"0xadfca15e",
"0x7a0ed627"
]
],
[
"0x3751e1dfbe3ed4ae595d80f4138aaee7337a78f2",
0,
[
"0x1f931c1c"
]
],
[
"0x77cd8a9ad93a5a95ce746e104ebf1710f8beb993",
0,
[
"0x92552b4a",
"0xb8b3c15a",
"0x01ffc9a7"
]
]
],
[
"0x48e2b093",
"0x1f931c1c",
"0x01ffc9a7",
"0x2ae6ea10"
]
],
"interfaceId": ""
},
{
"name": "BosonPriceDiscoveryClient",
"address": "0xbDD129B5034a65bd1F2872Df3F62C6dE1308352E",
"args": [
"0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
"0x26f643746cbc918b46c2d47edca68c4a6c98ebe6"
],
"interfaceId": ""
},
{
"name": "AccountHandlerFacet",
"address": "0x2683f042ee72367648E8Fdb194C49B01B112B8cB",
"args": [],
"interfaceId": "0x0757010c"
},
{
"name": "SellerHandlerFacet",
"address": "0x94588Ba858c7F67B60a0a079FE2131c4C0351fB9",
"args": [],
"interfaceId": "0x0757010c"
},
{
"name": "BuyerHandlerFacet",
"address": "0x72ed3a45303D5102B92b6F837162684673c40477",
"args": [],
"interfaceId": "0x0757010c"
},
{
"name": "DisputeResolverHandlerFacet",
"address": "0x5aF8E92541Ce126d2BfF69A03F301a7E16943A9c",
"args": [],
"interfaceId": "0x0757010c"
},
{
"name": "AgentHandlerFacet",
"address": "0x6D7f06CC2F2583A44226A9077Bea8C5f646B5095",
"args": [],
"interfaceId": "0x0757010c"
},
{
"name": "BundleHandlerFacet",
"address": "0x513C1320215Eba0AD85fea5a426bdb4527cC03C2",
"args": [],
"interfaceId": "0x7b53dece"
},
{
"name": "DisputeHandlerFacet",
"address": "0x02d35866eC073249dD804fB3E79aCe081474b9C5",
"args": [],
"interfaceId": "0xd9ea8317"
},
{
"name": "FundsHandlerFacet",
"address": "0x861E78400791C969Ccb6DB87eA21b5B07df677BA",
"args": [],
"interfaceId": "0x2f4a64d7"
},
{
"name": "GroupHandlerFacet",
"address": "0xE9846de8F8c4C0eceCB7FE6627D9288E5ecFaAB7",
"args": [],
"interfaceId": "0x08ccdf47"
},
{
"name": "OfferHandlerFacet",
"address": "0x364FB877D596764fA5D5BdC2CAdE4B25aa73f64F",
"args": [],
"interfaceId": "0x91b54fdc"
},
{
"name": "OrchestrationHandlerFacet1",
"address": "0x7d632e816a983E9aA07cebBB84D5b3aE6B6CB1DB",
"args": [],
"interfaceId": "0x44eb95ca"
},
{
"name": "OrchestrationHandlerFacet2",
"address": "0x84f7Bc784458080e58309C518d6B8c0A6C0bdECc",
"args": [],
"interfaceId": "0x44eb95ca"
},
{
"name": "TwinHandlerFacet",
"address": "0xED5d75A2b9Ba8f42662407BDE7020fd57733585a",
"args": [],
"interfaceId": "0x60b30e70"
},
{
"name": "PauseHandlerFacet",
"address": "0x4d827187dD0df5bF02575d24E5586e765511596e",
"args": [],
"interfaceId": "0x770b96d0"
},
{
"name": "ProtocolInitializationHandlerFacet",
"address": "0x654FA4C10C0F66c4D94B4AD458236A260888AB5a",
"args": [],
"interfaceId": "0x0d8e6e2c"
},
{
"name": "SequentialCommitHandlerFacet",
"address": "0x82a33733c2f8696F7fd61D0874351cbb8Ea61EBc",
"args": [
"0x52eF3d68BaB452a294342DC3e5f464d7f610f72E"
],
"interfaceId": "0x34780cc6"
},
{
"name": "PriceDiscoveryHandlerFacet",
"address": "0x0bfF7B7A04C1eB19DeA63f0FF4D884914edB61E8",
"args": [
"0x52eF3d68BaB452a294342DC3e5f464d7f610f72E"
],
"interfaceId": "0xdec319c9"
},
{
"name": "ConfigHandlerFacet",
"address": "0x29C9361920785F4B2175Ba61c177cEdC6A99542A",
"args": [],
"interfaceId": "0xe27f0773"
},
{
"name": "ExchangeHandlerFacet",
"address": "0x0b1d46Eac69b67bA0e74Cb272834268aE2eC6c36",
"args": [
1
],
"interfaceId": "0x66e9075a"
},
{
"name": "MetaTransactionsHandlerFacet",
"address": "0xbd589F66861FBe854F2f6e98aC09db65cbcA17Fc",
"args": [],
"interfaceId": "0xb3e4e803"
},
{
"name": "BosonVoucher Logic",
"address": "0xedB5F09d3FCF9DdBa83Bca24111Ab8D96e978d13",
"args": [
"0xd240234dacd7ffdca7e4effcf6c7190885d7e2f0"
],
"interfaceId": ""
},
{
"name": "BosonVoucher Beacon",
"address": "0xEc7464518335c40b1fCDeFF07F38808CBDCEb3e4",
"args": [
"0x26f643746cbc918b46c2d47edca68c4a6c98ebe6",
"0xedB5F09d3FCF9DdBa83Bca24111Ab8D96e978d13"
],
"interfaceId": ""
}
]
}
Loading

0 comments on commit 174ae30

Please sign in to comment.