diff --git a/contracts/factories/PaymentSplitterDeployer.sol b/contracts/factories/PaymentSplitterDeployer.sol index c1c3789..229be55 100644 --- a/contracts/factories/PaymentSplitterDeployer.sol +++ b/contracts/factories/PaymentSplitterDeployer.sol @@ -23,11 +23,11 @@ library PaymentSplitterDeployer { switch chainid() case 1 { // mainnet - factory := 0xf034d6a4b1a64f0e6038632d87746ca24b79d325 + factory := 0x10AF0996e2e289dC8f582e6510b0d251E061BFB5 } case 5 { // Görli - factory := 0x7F4Ae949da2eD37E0a4b37e0b15B22Ad5c94DE65 + factory := 0x1353463A30F7A9Eb50A645F4D3950d5d5E41F1F4 } case 1337 { // The geth SimulatedBackend iff used with the ethier diff --git a/contracts/factories/README.md b/contracts/factories/README.md index 03ad45b..79404b4 100644 --- a/contracts/factories/README.md +++ b/contracts/factories/README.md @@ -31,6 +31,14 @@ There is no need to import any of the code in `./factories/`. To deploy a new proxy manually, use the exposed functions in the verified Etherscan contracts (see below). To automate deployment, use a _Deployer_ contract. +#### Version + +The deployed payment splitter is using v4.7.0 of OpenZeppelin. As of April 2023 +the version deployed matches the interface on the [OZ docs page](https://docs.openzeppelin.com/contracts/4.x/api/finance#PaymentSplitter). + +Note that it is possible for a new 4.x release of OZ to add extra functionality which +will not be included in this contract without a subsequent deploy of the factory. + ### Deployers Each factory has an equivalent _Deployer_ library in `./contracts/factories/`. @@ -59,5 +67,5 @@ contract LookMaNoAddress { ### Verified Factories * `PaymentSplitter` - * [Mainnet](https://etherscan.io/address/0xf034d6a4b1a64f0e6038632d87746ca24b79d325#code) - * [Goerli](https://goerli.etherscan.io/address/0x7F4Ae949da2eD37E0a4b37e0b15B22Ad5c94DE65#code) + * [Mainnet](https://etherscan.io/address/0x10af0996e2e289dc8f582e6510b0d251e061bfb5#code) + * [Goerli](https://goerli.etherscan.io/address/0x1353463A30F7A9Eb50A645F4D3950d5d5E41F1F4#code)