Skip to content

Commit 22a115d

Browse files
committed
Deploy to Optimistic Goerli
1 parent f1d122c commit 22a115d

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

.openzeppelin/unknown-420.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"manifestVersion": "3.2",
33
"admin": {
4-
"address": "0xA830F6FE91eb9f7909Df7D81cCc07ED1C5092137",
5-
"txHash": "0xc78c10931b8cc2d546468070a0c767e29cf00556836dca9c1dfc3edb0cdbb274",
4+
"address": "0x826bb582346153bF13D3Af5f3621ECe31983571e",
5+
"txHash": "0x0f4032fd7df8d50d8ad1e39c7f055d8b3c3d80b0e9c2036b0f81c16a86caed5e",
66
"deployTransaction": {
7-
"hash": "0xc78c10931b8cc2d546468070a0c767e29cf00556836dca9c1dfc3edb0cdbb274",
7+
"hash": "0x0f4032fd7df8d50d8ad1e39c7f055d8b3c3d80b0e9c2036b0f81c16a86caed5e",
88
"type": 0,
99
"accessList": null,
10-
"blockHash": null,
11-
"blockNumber": null,
12-
"transactionIndex": null,
13-
"confirmations": 0,
10+
"blockHash": "0x68dbd4d6258671190576430452a56a9369a43af3c5955f199790c5d0a569e43b",
11+
"blockNumber": 3321649,
12+
"transactionIndex": 0,
13+
"confirmations": 1,
1414
"from": "0xE9976B324098dC194399f445cDbd989Bc42B4da7",
1515
"gasPrice": {
1616
"type": "BigNumber",
@@ -25,26 +25,26 @@
2525
"type": "BigNumber",
2626
"hex": "0x00"
2727
},
28-
"nonce": 58,
28+
"nonce": 101,
2929
"data": "0x608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610759806100616000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461011157806399a88ec414610124578063f2fde38b14610144578063f3b7dead146101645761007b565b8063204e1c7a14610080578063715018a6146100bc5780637eff275e146100d35780638da5cb5b146100f3575b600080fd5b34801561008c57600080fd5b506100a061009b366004610515565b610184565b6040516001600160a01b03909116815260200160405180910390f35b3480156100c857600080fd5b506100d1610215565b005b3480156100df57600080fd5b506100d16100ee366004610554565b610292565b3480156100ff57600080fd5b506000546001600160a01b03166100a0565b6100d161011f36600461058c565b61031c565b34801561013057600080fd5b506100d161013f366004610554565b6103ad565b34801561015057600080fd5b506100d161015f366004610515565b610405565b34801561017057600080fd5b506100a061017f366004610515565b6104ef565b6000806000836001600160a01b03166040516101aa90635c60da1b60e01b815260040190565b600060405180830381855afa9150503d80600081146101e5576040519150601f19603f3d011682016040523d82523d6000602084013e6101ea565b606091505b5091509150816101f957600080fd5b8080602001905181019061020d9190610538565b949350505050565b6000546001600160a01b031633146102485760405162461bcd60e51b815260040161023f906106c0565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146102bc5760405162461bcd60e51b815260040161023f906106c0565b6040516308f2839760e41b81526001600160a01b038281166004830152831690638f283970906024015b600060405180830381600087803b15801561030057600080fd5b505af1158015610314573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146103465760405162461bcd60e51b815260040161023f906106c0565b60405163278f794360e11b81526001600160a01b03841690634f1ef286903490610376908690869060040161065d565b6000604051808303818588803b15801561038f57600080fd5b505af11580156103a3573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b031633146103d75760405162461bcd60e51b815260040161023f906106c0565b604051631b2ce7f360e11b81526001600160a01b038281166004830152831690633659cfe6906024016102e6565b6000546001600160a01b0316331461042f5760405162461bcd60e51b815260040161023f906106c0565b6001600160a01b0381166104945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161023f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000836001600160a01b03166040516101aa906303e1469160e61b815260040190565b600060208284031215610526578081fd5b81356105318161070b565b9392505050565b600060208284031215610549578081fd5b81516105318161070b565b60008060408385031215610566578081fd5b82356105718161070b565b915060208301356105818161070b565b809150509250929050565b6000806000606084860312156105a0578081fd5b83356105ab8161070b565b925060208401356105bb8161070b565b9150604084013567ffffffffffffffff808211156105d7578283fd5b818601915086601f8301126105ea578283fd5b8135818111156105fc576105fc6106f5565b604051601f8201601f19908116603f01168101908382118183101715610624576106246106f5565b8160405282815289602084870101111561063c578586fd5b82602086016020830137856020848301015280955050505050509250925092565b600060018060a01b038416825260206040818401528351806040850152825b818110156106985785810183015185820160600152820161067c565b818111156106a95783606083870101525b50601f01601f191692909201606001949350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461072057600080fd5b5056fea2646970667358221220d849f96f3086b9f82cdcf665adb8c697ace05638da1c7c16ab2d26293717af6764736f6c63430008020033",
30-
"r": "0xdbe686c7124a994abf7d6da8f959e3ca307f35a0d6f0774b1dc81104272fc976",
31-
"s": "0x13dc0ac8d4a5392d7f54c56f9e0e77503ad943d5cccd5c799f1c1e4ff93faf7b",
32-
"v": 875,
33-
"creates": "0xA830F6FE91eb9f7909Df7D81cCc07ED1C5092137",
30+
"r": "0x8a88ddd4104412a48412633593e6d44744c78a04683e340a51c82a11e747d5fa",
31+
"s": "0x72e305597040ddf7a11abe5c063f7c49c2ace0dc952f25660bdca618e758f47c",
32+
"v": 876,
33+
"creates": "0x826bb582346153bF13D3Af5f3621ECe31983571e",
3434
"chainId": 420
3535
}
3636
},
3737
"proxies": [
3838
{
39-
"address": "0x4F9992E90BC33292dA679897311bb020e4227223",
40-
"txHash": "0x2d754b124112268da306f464dc9e3394e13cd642e262727bffddb78e9b64bb58",
39+
"address": "0x45fdCbcAaBE80b630d83a0f5a0Fb4a8b9cEFf84E",
40+
"txHash": "0xb50e7f7c8d9dcafcf099d06e739e0f5cd7694be1a85856049dbf7d406e866dc7",
4141
"kind": "transparent"
4242
}
4343
],
4444
"impls": {
45-
"c603d14718b2fb616185413b50635126eb35e99172d885f47edc7078073e5dd2": {
46-
"address": "0x95c52405ff4c4E7aA14c44e452f516F577BA5921",
47-
"txHash": "0x801b626745c76992b4f6760d935dc4fe8031711a13e2b9edce843aaf62e86301",
45+
"ced8474a82a2ccf838f330594b992bd22105222aaa0a8466711b9e97bd8a211d": {
46+
"address": "0xCd6Cf8CBc0d8207de06C7E539267AE5839b1061A",
47+
"txHash": "0x261c280b7ed2debe0b1696f0e2fbb775be01824852a8bd59a19b1b9f25586f6b",
4848
"layout": {
4949
"storage": [
5050
{
@@ -80,13 +80,13 @@
8080
{
8181
"contract": "BeneficiarySuperApp",
8282
"label": "cfaV1",
83-
"type": "t_struct(InitData)7971_storage",
83+
"type": "t_struct(InitData)1854_storage",
8484
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:26"
8585
},
8686
{
8787
"contract": "BeneficiarySuperApp",
8888
"label": "paramsStore",
89-
"type": "t_contract(IPCOLicenseParamsStore)18899",
89+
"type": "t_contract(IPCOLicenseParamsStore)6438",
9090
"src": "contracts/beneficiary/BeneficiarySuperApp.sol:27"
9191
},
9292
{
@@ -103,26 +103,26 @@
103103
}
104104
],
105105
"types": {
106-
"t_struct(InitData)7971_storage": {
106+
"t_struct(InitData)1854_storage": {
107107
"label": "struct CFAv1Library.InitData",
108108
"members": [
109109
{
110110
"label": "host",
111-
"type": "t_contract(ISuperfluid)11167"
111+
"type": "t_contract(ISuperfluid)5050"
112112
},
113113
{
114114
"label": "cfa",
115-
"type": "t_contract(IConstantFlowAgreementV1)9624"
115+
"type": "t_contract(IConstantFlowAgreementV1)3507"
116116
}
117117
]
118118
},
119-
"t_contract(ISuperfluid)11167": {
119+
"t_contract(ISuperfluid)5050": {
120120
"label": "contract ISuperfluid"
121121
},
122-
"t_contract(IConstantFlowAgreementV1)9624": {
122+
"t_contract(IConstantFlowAgreementV1)3507": {
123123
"label": "contract IConstantFlowAgreementV1"
124124
},
125-
"t_contract(IPCOLicenseParamsStore)18899": {
125+
"t_contract(IPCOLicenseParamsStore)6438": {
126126
"label": "contract IPCOLicenseParamsStore"
127127
},
128128
"t_mapping(t_address,t_uint256)": {

tasks/initialize-eoa.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async function deployBeneficiarySuperApp(
6565
const factory = await hre.ethers.getContractFactory("BeneficiarySuperApp");
6666
const beneSuperApp = await hre.upgrades.deployProxy(
6767
factory.connect(await hre.ethers.getSigner(deployer)),
68-
[registryDiamond.address, treasury]
68+
[registryDiamond.address, treasury, ""]
6969
);
7070
await beneSuperApp.deployed();
7171
console.log("BeneficiarySuperApp deployed: ", beneSuperApp.address);
@@ -98,9 +98,9 @@ async function initializeRegistryDiamond(
9898
await registryDiamond
9999
.connect(await hre.ethers.getSigner(diamondAdmin))
100100
.initializeClaimer(
101-
"1665619570",
102-
"1666224370",
103-
hre.ethers.utils.parseEther("1.0").toString(),
101+
"1670607584",
102+
"1670780383",
103+
hre.ethers.utils.parseEther("0.1").toString(),
104104
hre.ethers.utils.parseEther("0.005").toString(),
105105
beaconDiamondAddress
106106
);

0 commit comments

Comments
 (0)