diff --git a/Implementations/Subgraph/daostar/build/subgraph.yaml b/Implementations/Subgraph/daostar/build/subgraph.yaml index e1d5ac94..f91830cb 100644 --- a/Implementations/Subgraph/daostar/build/subgraph.yaml +++ b/Implementations/Subgraph/daostar/build/subgraph.yaml @@ -6,7 +6,7 @@ features: templates: - name: EIP4824Registration kind: ethereum/contract - network: goerli + network: gnosis source: abi: EIP4824Registration mapping: @@ -25,11 +25,11 @@ templates: dataSources: - kind: ethereum name: EIP4824Index - network: goerli + network: gnosis source: abi: EIP4824Index - address: "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da" - startBlock: 8901481 + address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" + startBlock: 27702194 mapping: kind: ethereum/events apiVersion: 0.0.6 diff --git a/Implementations/Subgraph/daostar/networks.json b/Implementations/Subgraph/daostar/networks.json index b9d7854a..4bb130e6 100644 --- a/Implementations/Subgraph/daostar/networks.json +++ b/Implementations/Subgraph/daostar/networks.json @@ -1,8 +1,14 @@ { - "goerli": { - "EIP4824Index": { - "address": "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da", - "startBlock": 8901481 + "goerli": { + "EIP4824Index": { + "address": "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da", + "startBlock": 8901481 + } + }, + "gnosis": { + "EIP4824Index": { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "startBlock": 27702194 + } } - } -} \ No newline at end of file +} diff --git a/Implementations/Subgraph/daostar/package.json b/Implementations/Subgraph/daostar/package.json index 8460dfd0..98656159 100644 --- a/Implementations/Subgraph/daostar/package.json +++ b/Implementations/Subgraph/daostar/package.json @@ -1,20 +1,22 @@ { - "name": "daostar", - "license": "UNLICENSED", - "scripts": { - "build:mainnet": "graph codegen && graph build --network mainnet", - "build:goerli": "graph codegen && graph build --network goerli", - "codegen": "graph codegen", - "build": "graph build", - "deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar", - "deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar-goerli", - "deploy:all": "yarn build:goerli && yarn deploy:goerli && yarn build:mainnet && yarn deploy:mainnet", - "create-local": "graph create --node http://localhost:8020/ ipatka/daostar", - "remove-local": "graph remove --node http://localhost:8020/ ipatka/daostar", - "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 ipatka/daostar" - }, - "dependencies": { - "@graphprotocol/graph-cli": "0.29.0", - "@graphprotocol/graph-ts": "0.26.0" - } + "name": "daostar", + "license": "UNLICENSED", + "scripts": { + "build:mainnet": "graph codegen && graph build --network mainnet", + "build:goerli": "graph codegen && graph build --network goerli", + "build:gnosis": "graph codegen && graph build --network gnosis", + "codegen": "graph codegen", + "build": "graph build", + "deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar", + "deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar-goerli", + "deploy:gnosis": "graph deploy --node https://api.thegraph.com/deploy/ mrutsavg/daostar-gnosis", + "deploy:all": "yarn build:goerli && yarn deploy:goerli && yarn build:mainnet && yarn deploy:mainnet && yarn build:gnosis && yarn deploy:gnosis", + "create-local": "graph create --node http://localhost:8020/ ipatka/daostar", + "remove-local": "graph remove --node http://localhost:8020/ ipatka/daostar", + "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 ipatka/daostar" + }, + "dependencies": { + "@graphprotocol/graph-cli": "0.29.0", + "@graphprotocol/graph-ts": "0.26.0" + } } diff --git a/Implementations/Subgraph/daostar/subgraph.yaml b/Implementations/Subgraph/daostar/subgraph.yaml index d12667dc..1c7ce8f7 100644 --- a/Implementations/Subgraph/daostar/subgraph.yaml +++ b/Implementations/Subgraph/daostar/subgraph.yaml @@ -6,7 +6,7 @@ features: templates: - name: EIP4824Registration kind: ethereum/contract - network: goerli + network: gnosis source: abi: EIP4824Registration mapping: @@ -25,11 +25,11 @@ templates: dataSources: - kind: ethereum name: EIP4824Index - network: goerli + network: gnosis source: abi: EIP4824Index - address: "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da" - startBlock: 8901481 + address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" + startBlock: 27702194 mapping: kind: ethereum/events apiVersion: 0.0.6 diff --git a/contracts/broadcast/Deploy.s.sol/100/run-1682830360.json b/contracts/broadcast/Deploy.s.sol/100/run-1682830360.json new file mode 100644 index 00000000..97a49049 --- /dev/null +++ b/contracts/broadcast/Deploy.s.sol/100/run-1682830360.json @@ -0,0 +1,80 @@ +{ + "transactions": [ + { + "hash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionType": "CREATE", + "contractName": "EIP4824Index", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xcdc1f", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5061001c60003361004b565b6100467fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f42783361004b565b6100ea565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166100e6576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100a53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6109d1806100f96000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d1485414610137578063a217fddf1461014a578063d547741f14610152578063ea5095b114610165578063fc65b8411461017857600080fd5b806301ffc9a7146100a35780630d67c955146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b136600461078d565b61019f565b60405190151581526020015b60405180910390f35b6100de6100d93660046107d3565b6101d6565b005b6101036100ee3660046107ee565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610807565b610240565b6100de610132366004610807565b61026a565b6100b6610145366004610807565b6102ed565b610103600081565b6100de610160366004610807565b610316565b6100de6101733660046107d3565b61033b565b6101037fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f427881565b60006001600160e01b03198216637965db0b60e01b14806101d057506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278610200816103b1565b6040516001600160a01b03831681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a15050565b60008281526020819052604090206001015461025b816103b1565b61026583836103be565b505050565b6001600160a01b03811633146102df5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6102e98282610442565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610331816103b1565b6102658383610442565b6103556001600160a01b038216637034731b60e01b6104a7565b6103725760405163e311fe0960e01b815260040160405180910390fd5b6040516001600160a01b03821681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a150565b6103bb81336104ca565b50565b6103c882826102ed565b6102e9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556103fe3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61044c82826102ed565b156102e9576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006104b283610523565b80156104c357506104c38383610556565b9392505050565b6104d482826102ed565b6102e9576104e1816105df565b6104ec8360206105f1565b6040516020016104fd929190610863565b60408051601f198184030181529082905262461bcd60e51b82526102d6916004016108d8565b6000610536826301ffc9a760e01b610556565b80156101d0575061054f826001600160e01b0319610556565b1592915050565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180516001600160e01b03166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156105c8575060208210155b80156105d45750600081115b979650505050505050565b60606101d06001600160a01b03831660145b60606000610600836002610921565b61060b906002610940565b67ffffffffffffffff81111561062357610623610958565b6040519080825280601f01601f19166020018201604052801561064d576020820181803683370190505b509050600360fc1b816000815181106106685761066861096e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106106975761069761096e565b60200101906001600160f81b031916908160001a90535060006106bb846002610921565b6106c6906001610940565b90505b600181111561073e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106106fa576106fa61096e565b1a60f81b8282815181106107105761071061096e565b60200101906001600160f81b031916908160001a90535060049490941c9361073781610984565b90506106c9565b5083156104c35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102d6565b60006020828403121561079f57600080fd5b81356001600160e01b0319811681146104c357600080fd5b80356001600160a01b03811681146107ce57600080fd5b919050565b6000602082840312156107e557600080fd5b6104c3826107b7565b60006020828403121561080057600080fd5b5035919050565b6000806040838503121561081a57600080fd5b8235915061082a602084016107b7565b90509250929050565b60005b8381101561084e578181015183820152602001610836565b8381111561085d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161089b816017850160208801610833565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108cc816028840160208801610833565b01602801949350505050565b60208152600082518060208401526108f7816040850160208701610833565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561093b5761093b61090b565b500290565b600082198211156109535761095361090b565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816109935761099361090b565b50600019019056fea2646970667358221220f0a7aaa3d1c14855e2d2406b1d957ff8a9b88461d6349289e9717783ed26519c64736f6c634300080d0033", + "nonce": "0x3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionType": "CREATE", + "contractName": "EIP4824Registration", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xfd380", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b50600280546001600160a01b03191661dead179055610d11806100346000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637034731b116100715780637034731b146101605780637bb7c0d81461017557806391d1485414610188578063a217fddf1461019b578063d547741f146101a3578063ec87621c146101b657600080fd5b806301ffc9a7146100b957806302fe5305146100e157806309c26fb1146100f6578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014d575b600080fd5b6100cc6100c73660046108cb565b6101cb565b60405190151581526020015b60405180910390f35b6100f46100ef366004610998565b6101f6565b005b6100f46101043660046109f1565b61021b565b61012c610117366004610a60565b60009081526020819052604090206001015490565b6040519081526020016100d8565b6100f4610148366004610a79565b610244565b6100f461015b366004610a79565b61026e565b6101686102ed565b6040516100d89190610afd565b6100f4610183366004610b10565b61037f565b6100cc610196366004610a79565b61044d565b61012c600081565b6100f46101b1366004610a79565b610476565b61012c600080516020610cbc83398151915281565b60006001600160e01b03198216637034731b60e01b14806101f057506101f08261049b565b92915050565b600080516020610cbc83398151915261020e816104d0565b610217826104dd565b5050565b61022684838361037f565b61023e600080516020610cbc8339815191528461053b565b50505050565b60008281526020819052604090206001015461025f816104d0565b610269838361053b565b505050565b6001600160a01b03811633146102e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61021782826105bf565b6060600180546102fc90610b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032890610b6e565b80156103755780601f1061034a57610100808354040283529160200191610375565b820191906000526020600020905b81548152906001019060200180831161035857829003601f168201915b5050505050905090565b6002546001600160a01b0316156103a85760405162dc149f60e41b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0385161790556103cc826104dd565b6103d760008461053b565b6103ef600080516020610cbc8339815191528461053b565b60405163ea5095b160e01b81523060048201526001600160a01b0382169063ea5095b190602401600060405180830381600087803b15801561043057600080fd5b505af1158015610444573d6000803e3d6000fd5b50505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610491816104d0565b61026983836105bf565b60006001600160e01b03198216637965db0b60e01b14806101f057506301ffc9a760e01b6001600160e01b03198316146101f0565b6104da8133610624565b50565b80516104f0906001906020840190610832565b506002546040517f70a842976e7a4dbe172ab201a1d23ff7f220e6edea7c32dc4e15b9210fef09dd91610530916001600160a01b03909116908490610ba8565b60405180910390a150565b610545828261044d565b610217576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561057b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6105c9828261044d565b15610217576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61062e828261044d565b6102175761063b8161067d565b61064683602061068f565b604051602001610657929190610bcc565b60408051601f198184030181529082905262461bcd60e51b82526102da91600401610afd565b60606101f06001600160a01b03831660145b6060600061069e836002610c57565b6106a9906002610c76565b67ffffffffffffffff8111156106c1576106c16108f5565b6040519080825280601f01601f1916602001820160405280156106eb576020820181803683370190505b509050600360fc1b8160008151811061070657610706610c8e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073557610735610c8e565b60200101906001600160f81b031916908160001a9053506000610759846002610c57565b610764906001610c76565b90505b60018111156107dc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061079857610798610c8e565b1a60f81b8282815181106107ae576107ae610c8e565b60200101906001600160f81b031916908160001a90535060049490941c936107d581610ca4565b9050610767565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102da565b9392505050565b82805461083e90610b6e565b90600052602060002090601f01602090048101928261086057600085556108a6565b82601f1061087957805160ff19168380011785556108a6565b828001600101855582156108a6579182015b828111156108a657825182559160200191906001019061088b565b506108b29291506108b6565b5090565b5b808211156108b257600081556001016108b7565b6000602082840312156108dd57600080fd5b81356001600160e01b03198116811461082b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261091c57600080fd5b813567ffffffffffffffff80821115610937576109376108f5565b604051601f8301601f19908116603f0116810190828211818310171561095f5761095f6108f5565b8160405283815286602085880101111561097857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156109aa57600080fd5b813567ffffffffffffffff8111156109c157600080fd5b6109cd8482850161090b565b949350505050565b80356001600160a01b03811681146109ec57600080fd5b919050565b60008060008060808587031215610a0757600080fd5b610a10856109d5565b9350610a1e602086016109d5565b9250604085013567ffffffffffffffff811115610a3a57600080fd5b610a468782880161090b565b925050610a55606086016109d5565b905092959194509250565b600060208284031215610a7257600080fd5b5035919050565b60008060408385031215610a8c57600080fd5b82359150610a9c602084016109d5565b90509250929050565b60005b83811015610ac0578181015183820152602001610aa8565b8381111561023e5750506000910152565b60008151808452610ae9816020860160208601610aa5565b601f01601f19169290920160200192915050565b60208152600061082b6020830184610ad1565b600080600060608486031215610b2557600080fd5b610b2e846109d5565b9250602084013567ffffffffffffffff811115610b4a57600080fd5b610b568682870161090b565b925050610b65604085016109d5565b90509250925092565b600181811c90821680610b8257607f821691505b602082108103610ba257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03831681526040602082018190526000906109cd90830184610ad1565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610c04816017850160208801610aa5565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610c35816028840160208801610aa5565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610c7157610c71610c41565b500290565b60008219821115610c8957610c89610c41565b500190565b634e487b7160e01b600052603260045260246000fd5b600081610cb357610cb3610c41565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a264697066735822122094c82dc3c557efae20b9b764d95d878f9c1f835f0d6dd1c5826e5ca1b38e729464736f6c634300080d0033", + "nonce": "0x4", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionType": "CREATE", + "contractName": "EIP4824RegistrationSummoner", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", + "function": null, + "arguments": [ + "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" + ], + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xa3485", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5060405161083a38038061083a83398101604081905261002f9161007c565b600180546001600160a01b039384166001600160a01b031991821617909155600080549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b61077c806100be6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e7984ed146100515780636f2ddd93146100885780639481f966146100b3578063c3b7822f146100c6575b600080fd5b61006461005f366004610479565b6100e7565b604080516001600160a01b0390931683529015156020830152015b60405180910390f35b60015461009b906001600160a01b031681565b6040516001600160a01b03909116815260200161007f565b60005461009b906001600160a01b031681565b6100d96100d43660046104ef565b610180565b60405161007f9291906105cf565b600154600090819061016a906001600160a01b0316610110868660009182526020526040902090565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b946001600160a01b0386163b1515945092505050565b6001546000906060906101af906001600160a01b03166101aa338d60009182526020526040902090565b610308565b91506001600160a01b03871661022e57600054604051630f76f81b60e31b81526001600160a01b0384811692637bb7c0d8926101f79233928f928f92909116906004016106a3565b600060405180830381600087803b15801561021157600080fd5b505af1158015610225573d6000803e3d6000fd5b505050506102a8565b816001600160a01b03166309c26fb133898c8c60008054906101000a90046001600160a01b03166040518663ffffffff1660e01b81526004016102759594939291906106da565b600060405180830381600087803b15801561028f57600080fd5b505af11580156102a3573d6000803e3d6000fd5b505050505b6102b4868686866103af565b9050336001600160a01b03167fe9e32efd3c9d53b50595bf3de6868c9f83b11066cfae28d57f83b8075e9894a48a8a856040516102f39392919061071a565b60405180910390a29850989650505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166103a95760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c6564000000000000000000604482015260640160405180910390fd5b92915050565b60608382146103d157604051631dc0052360e11b815260040160405180910390fd5b6040519050818152602081018260051b84018360051b8201855b82811461044e578035870180356020820184378782038a01356000808335866000855af161041d573d6000803e3d6000fd5b50508184526020840193503d82523d6000602084013e3d91909101603f0167ffffffffffffffe016906020016103eb565b50604052509095945050505050565b80356001600160a01b038116811461047457600080fd5b919050565b6000806040838503121561048c57600080fd5b6104958361045d565b946020939093013593505050565b60008083601f8401126104b557600080fd5b50813567ffffffffffffffff8111156104cd57600080fd5b6020830191508360208260051b85010111156104e857600080fd5b9250929050565b60008060008060008060008060a0898b03121561050b57600080fd5b88359750602089013567ffffffffffffffff8082111561052a57600080fd5b818b0191508b601f83011261053e57600080fd5b81358181111561054d57600080fd5b8c602082850101111561055f57600080fd5b602083019950975061057360408c0161045d565b965060608b013591508082111561058957600080fd5b6105958c838d016104a3565b909650945060808b01359150808211156105ae57600080fd5b506105bb8b828c016104a3565b999c989b5096995094979396929594505050565b60006040820160018060a01b0385168352602060408185015281855180845260608601915060608160051b87010193508287016000805b8381101561066b57888703605f1901855282518051808952835b8181101561063b578281018901518a82018a01528801610620565b8181111561064b578489838c0101525b50601f01601f191697909701860196509385019391850191600101610606565b50949998505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b038087168352606060208401526106c660608401868861067a565b915080841660408401525095945050505050565b600060018060a01b03808816835280871660208401526080604084015261070560808401868861067a565b91508084166060840152509695505050505050565b60408152600061072e60408301858761067a565b905060018060a01b038316602083015294935050505056fea26469706673582212208fdf4cc18e92a93f770e79e7e931e7ea2c562beae056927dd3fb66d9f46296a664736f6c634300080d0033000000000000000000000000aa3b4c094b34a1a556bcecdc8777af79e45c5d3a0000000000000000000000008180cbfbffe59f54bf3ea5d7ddbae1232e2bb298", + "nonce": "0x5", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [], + "libraries": [], + "pending": [ + "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0" + ], + "path": "/Users/utsavgupta/Documents/Playground/Independent Study/daostar/contracts/broadcast/Deploy.s.sol/100/run-latest.json", + "returns": {}, + "timestamp": 1682830360, + "chain": 100, + "multi": false, + "commit": "60fd739" +} \ No newline at end of file diff --git a/contracts/broadcast/Deploy.s.sol/100/run-1682830367.json b/contracts/broadcast/Deploy.s.sol/100/run-1682830367.json new file mode 100644 index 00000000..4a56a812 --- /dev/null +++ b/contracts/broadcast/Deploy.s.sol/100/run-1682830367.json @@ -0,0 +1,158 @@ +{ + "transactions": [ + { + "hash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionType": "CREATE", + "contractName": "EIP4824Index", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xcdc1f", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5061001c60003361004b565b6100467fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f42783361004b565b6100ea565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166100e6576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100a53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6109d1806100f96000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d1485414610137578063a217fddf1461014a578063d547741f14610152578063ea5095b114610165578063fc65b8411461017857600080fd5b806301ffc9a7146100a35780630d67c955146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b136600461078d565b61019f565b60405190151581526020015b60405180910390f35b6100de6100d93660046107d3565b6101d6565b005b6101036100ee3660046107ee565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610807565b610240565b6100de610132366004610807565b61026a565b6100b6610145366004610807565b6102ed565b610103600081565b6100de610160366004610807565b610316565b6100de6101733660046107d3565b61033b565b6101037fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f427881565b60006001600160e01b03198216637965db0b60e01b14806101d057506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278610200816103b1565b6040516001600160a01b03831681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a15050565b60008281526020819052604090206001015461025b816103b1565b61026583836103be565b505050565b6001600160a01b03811633146102df5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6102e98282610442565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610331816103b1565b6102658383610442565b6103556001600160a01b038216637034731b60e01b6104a7565b6103725760405163e311fe0960e01b815260040160405180910390fd5b6040516001600160a01b03821681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a150565b6103bb81336104ca565b50565b6103c882826102ed565b6102e9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556103fe3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61044c82826102ed565b156102e9576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006104b283610523565b80156104c357506104c38383610556565b9392505050565b6104d482826102ed565b6102e9576104e1816105df565b6104ec8360206105f1565b6040516020016104fd929190610863565b60408051601f198184030181529082905262461bcd60e51b82526102d6916004016108d8565b6000610536826301ffc9a760e01b610556565b80156101d0575061054f826001600160e01b0319610556565b1592915050565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180516001600160e01b03166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156105c8575060208210155b80156105d45750600081115b979650505050505050565b60606101d06001600160a01b03831660145b60606000610600836002610921565b61060b906002610940565b67ffffffffffffffff81111561062357610623610958565b6040519080825280601f01601f19166020018201604052801561064d576020820181803683370190505b509050600360fc1b816000815181106106685761066861096e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106106975761069761096e565b60200101906001600160f81b031916908160001a90535060006106bb846002610921565b6106c6906001610940565b90505b600181111561073e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106106fa576106fa61096e565b1a60f81b8282815181106107105761071061096e565b60200101906001600160f81b031916908160001a90535060049490941c9361073781610984565b90506106c9565b5083156104c35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102d6565b60006020828403121561079f57600080fd5b81356001600160e01b0319811681146104c357600080fd5b80356001600160a01b03811681146107ce57600080fd5b919050565b6000602082840312156107e557600080fd5b6104c3826107b7565b60006020828403121561080057600080fd5b5035919050565b6000806040838503121561081a57600080fd5b8235915061082a602084016107b7565b90509250929050565b60005b8381101561084e578181015183820152602001610836565b8381111561085d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161089b816017850160208801610833565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108cc816028840160208801610833565b01602801949350505050565b60208152600082518060208401526108f7816040850160208701610833565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561093b5761093b61090b565b500290565b600082198211156109535761095361090b565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816109935761099361090b565b50600019019056fea2646970667358221220f0a7aaa3d1c14855e2d2406b1d957ff8a9b88461d6349289e9717783ed26519c64736f6c634300080d0033", + "nonce": "0x3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionType": "CREATE", + "contractName": "EIP4824Registration", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xfd380", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b50600280546001600160a01b03191661dead179055610d11806100346000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637034731b116100715780637034731b146101605780637bb7c0d81461017557806391d1485414610188578063a217fddf1461019b578063d547741f146101a3578063ec87621c146101b657600080fd5b806301ffc9a7146100b957806302fe5305146100e157806309c26fb1146100f6578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014d575b600080fd5b6100cc6100c73660046108cb565b6101cb565b60405190151581526020015b60405180910390f35b6100f46100ef366004610998565b6101f6565b005b6100f46101043660046109f1565b61021b565b61012c610117366004610a60565b60009081526020819052604090206001015490565b6040519081526020016100d8565b6100f4610148366004610a79565b610244565b6100f461015b366004610a79565b61026e565b6101686102ed565b6040516100d89190610afd565b6100f4610183366004610b10565b61037f565b6100cc610196366004610a79565b61044d565b61012c600081565b6100f46101b1366004610a79565b610476565b61012c600080516020610cbc83398151915281565b60006001600160e01b03198216637034731b60e01b14806101f057506101f08261049b565b92915050565b600080516020610cbc83398151915261020e816104d0565b610217826104dd565b5050565b61022684838361037f565b61023e600080516020610cbc8339815191528461053b565b50505050565b60008281526020819052604090206001015461025f816104d0565b610269838361053b565b505050565b6001600160a01b03811633146102e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61021782826105bf565b6060600180546102fc90610b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032890610b6e565b80156103755780601f1061034a57610100808354040283529160200191610375565b820191906000526020600020905b81548152906001019060200180831161035857829003601f168201915b5050505050905090565b6002546001600160a01b0316156103a85760405162dc149f60e41b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0385161790556103cc826104dd565b6103d760008461053b565b6103ef600080516020610cbc8339815191528461053b565b60405163ea5095b160e01b81523060048201526001600160a01b0382169063ea5095b190602401600060405180830381600087803b15801561043057600080fd5b505af1158015610444573d6000803e3d6000fd5b50505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610491816104d0565b61026983836105bf565b60006001600160e01b03198216637965db0b60e01b14806101f057506301ffc9a760e01b6001600160e01b03198316146101f0565b6104da8133610624565b50565b80516104f0906001906020840190610832565b506002546040517f70a842976e7a4dbe172ab201a1d23ff7f220e6edea7c32dc4e15b9210fef09dd91610530916001600160a01b03909116908490610ba8565b60405180910390a150565b610545828261044d565b610217576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561057b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6105c9828261044d565b15610217576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61062e828261044d565b6102175761063b8161067d565b61064683602061068f565b604051602001610657929190610bcc565b60408051601f198184030181529082905262461bcd60e51b82526102da91600401610afd565b60606101f06001600160a01b03831660145b6060600061069e836002610c57565b6106a9906002610c76565b67ffffffffffffffff8111156106c1576106c16108f5565b6040519080825280601f01601f1916602001820160405280156106eb576020820181803683370190505b509050600360fc1b8160008151811061070657610706610c8e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073557610735610c8e565b60200101906001600160f81b031916908160001a9053506000610759846002610c57565b610764906001610c76565b90505b60018111156107dc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061079857610798610c8e565b1a60f81b8282815181106107ae576107ae610c8e565b60200101906001600160f81b031916908160001a90535060049490941c936107d581610ca4565b9050610767565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102da565b9392505050565b82805461083e90610b6e565b90600052602060002090601f01602090048101928261086057600085556108a6565b82601f1061087957805160ff19168380011785556108a6565b828001600101855582156108a6579182015b828111156108a657825182559160200191906001019061088b565b506108b29291506108b6565b5090565b5b808211156108b257600081556001016108b7565b6000602082840312156108dd57600080fd5b81356001600160e01b03198116811461082b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261091c57600080fd5b813567ffffffffffffffff80821115610937576109376108f5565b604051601f8301601f19908116603f0116810190828211818310171561095f5761095f6108f5565b8160405283815286602085880101111561097857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156109aa57600080fd5b813567ffffffffffffffff8111156109c157600080fd5b6109cd8482850161090b565b949350505050565b80356001600160a01b03811681146109ec57600080fd5b919050565b60008060008060808587031215610a0757600080fd5b610a10856109d5565b9350610a1e602086016109d5565b9250604085013567ffffffffffffffff811115610a3a57600080fd5b610a468782880161090b565b925050610a55606086016109d5565b905092959194509250565b600060208284031215610a7257600080fd5b5035919050565b60008060408385031215610a8c57600080fd5b82359150610a9c602084016109d5565b90509250929050565b60005b83811015610ac0578181015183820152602001610aa8565b8381111561023e5750506000910152565b60008151808452610ae9816020860160208601610aa5565b601f01601f19169290920160200192915050565b60208152600061082b6020830184610ad1565b600080600060608486031215610b2557600080fd5b610b2e846109d5565b9250602084013567ffffffffffffffff811115610b4a57600080fd5b610b568682870161090b565b925050610b65604085016109d5565b90509250925092565b600181811c90821680610b8257607f821691505b602082108103610ba257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03831681526040602082018190526000906109cd90830184610ad1565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610c04816017850160208801610aa5565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610c35816028840160208801610aa5565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610c7157610c71610c41565b500290565b60008219821115610c8957610c89610c41565b500190565b634e487b7160e01b600052603260045260246000fd5b600081610cb357610cb3610c41565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a264697066735822122094c82dc3c557efae20b9b764d95d878f9c1f835f0d6dd1c5826e5ca1b38e729464736f6c634300080d0033", + "nonce": "0x4", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionType": "CREATE", + "contractName": "EIP4824RegistrationSummoner", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", + "function": null, + "arguments": [ + "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" + ], + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xa3485", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5060405161083a38038061083a83398101604081905261002f9161007c565b600180546001600160a01b039384166001600160a01b031991821617909155600080549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b61077c806100be6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e7984ed146100515780636f2ddd93146100885780639481f966146100b3578063c3b7822f146100c6575b600080fd5b61006461005f366004610479565b6100e7565b604080516001600160a01b0390931683529015156020830152015b60405180910390f35b60015461009b906001600160a01b031681565b6040516001600160a01b03909116815260200161007f565b60005461009b906001600160a01b031681565b6100d96100d43660046104ef565b610180565b60405161007f9291906105cf565b600154600090819061016a906001600160a01b0316610110868660009182526020526040902090565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b946001600160a01b0386163b1515945092505050565b6001546000906060906101af906001600160a01b03166101aa338d60009182526020526040902090565b610308565b91506001600160a01b03871661022e57600054604051630f76f81b60e31b81526001600160a01b0384811692637bb7c0d8926101f79233928f928f92909116906004016106a3565b600060405180830381600087803b15801561021157600080fd5b505af1158015610225573d6000803e3d6000fd5b505050506102a8565b816001600160a01b03166309c26fb133898c8c60008054906101000a90046001600160a01b03166040518663ffffffff1660e01b81526004016102759594939291906106da565b600060405180830381600087803b15801561028f57600080fd5b505af11580156102a3573d6000803e3d6000fd5b505050505b6102b4868686866103af565b9050336001600160a01b03167fe9e32efd3c9d53b50595bf3de6868c9f83b11066cfae28d57f83b8075e9894a48a8a856040516102f39392919061071a565b60405180910390a29850989650505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166103a95760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c6564000000000000000000604482015260640160405180910390fd5b92915050565b60608382146103d157604051631dc0052360e11b815260040160405180910390fd5b6040519050818152602081018260051b84018360051b8201855b82811461044e578035870180356020820184378782038a01356000808335866000855af161041d573d6000803e3d6000fd5b50508184526020840193503d82523d6000602084013e3d91909101603f0167ffffffffffffffe016906020016103eb565b50604052509095945050505050565b80356001600160a01b038116811461047457600080fd5b919050565b6000806040838503121561048c57600080fd5b6104958361045d565b946020939093013593505050565b60008083601f8401126104b557600080fd5b50813567ffffffffffffffff8111156104cd57600080fd5b6020830191508360208260051b85010111156104e857600080fd5b9250929050565b60008060008060008060008060a0898b03121561050b57600080fd5b88359750602089013567ffffffffffffffff8082111561052a57600080fd5b818b0191508b601f83011261053e57600080fd5b81358181111561054d57600080fd5b8c602082850101111561055f57600080fd5b602083019950975061057360408c0161045d565b965060608b013591508082111561058957600080fd5b6105958c838d016104a3565b909650945060808b01359150808211156105ae57600080fd5b506105bb8b828c016104a3565b999c989b5096995094979396929594505050565b60006040820160018060a01b0385168352602060408185015281855180845260608601915060608160051b87010193508287016000805b8381101561066b57888703605f1901855282518051808952835b8181101561063b578281018901518a82018a01528801610620565b8181111561064b578489838c0101525b50601f01601f191697909701860196509385019391850191600101610606565b50949998505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b038087168352606060208401526106c660608401868861067a565b915080841660408401525095945050505050565b600060018060a01b03808816835280871660208401526080604084015261070560808401868861067a565b91508084166060840152509695505050505050565b60408152600061072e60408301858761067a565b905060018060a01b038316602083015294935050505056fea26469706673582212208fdf4cc18e92a93f770e79e7e931e7ea2c562beae056927dd3fb66d9f46296a664736f6c634300080d0033000000000000000000000000aa3b4c094b34a1a556bcecdc8777af79e45c5d3a0000000000000000000000008180cbfbffe59f54bf3ea5d7ddbae1232e2bb298", + "nonce": "0x5", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x157120", + "gasUsed": "0x9e467", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "logs": [ + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0xe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x4", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000004000000000000000000080000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000020000000000000002000800000000000000008000000000000000000000000000800000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000500000000000020000000000000400000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + }, + { + "transactionHash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionIndex": "0x4", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x219daa", + "gasUsed": "0xc2c8a", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + }, + { + "transactionHash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionIndex": "0x5", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x29774c", + "gasUsed": "0x7d9a2", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + } + ], + "libraries": [], + "pending": [], + "path": "/Users/utsavgupta/Documents/Playground/Independent Study/daostar/contracts/broadcast/Deploy.s.sol/100/run-latest.json", + "returns": {}, + "timestamp": 1682830367, + "chain": 100, + "multi": false, + "commit": "60fd739" +} \ No newline at end of file diff --git a/contracts/broadcast/Deploy.s.sol/100/run-1682830396.json b/contracts/broadcast/Deploy.s.sol/100/run-1682830396.json new file mode 100644 index 00000000..0bb5b1ed --- /dev/null +++ b/contracts/broadcast/Deploy.s.sol/100/run-1682830396.json @@ -0,0 +1,158 @@ +{ + "transactions": [ + { + "hash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionType": "CREATE", + "contractName": "EIP4824Index", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xcdc1f", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5061001c60003361004b565b6100467fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f42783361004b565b6100ea565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166100e6576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100a53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6109d1806100f96000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d1485414610137578063a217fddf1461014a578063d547741f14610152578063ea5095b114610165578063fc65b8411461017857600080fd5b806301ffc9a7146100a35780630d67c955146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b136600461078d565b61019f565b60405190151581526020015b60405180910390f35b6100de6100d93660046107d3565b6101d6565b005b6101036100ee3660046107ee565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610807565b610240565b6100de610132366004610807565b61026a565b6100b6610145366004610807565b6102ed565b610103600081565b6100de610160366004610807565b610316565b6100de6101733660046107d3565b61033b565b6101037fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f427881565b60006001600160e01b03198216637965db0b60e01b14806101d057506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278610200816103b1565b6040516001600160a01b03831681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a15050565b60008281526020819052604090206001015461025b816103b1565b61026583836103be565b505050565b6001600160a01b03811633146102df5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6102e98282610442565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610331816103b1565b6102658383610442565b6103556001600160a01b038216637034731b60e01b6104a7565b6103725760405163e311fe0960e01b815260040160405180910390fd5b6040516001600160a01b03821681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a150565b6103bb81336104ca565b50565b6103c882826102ed565b6102e9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556103fe3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61044c82826102ed565b156102e9576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006104b283610523565b80156104c357506104c38383610556565b9392505050565b6104d482826102ed565b6102e9576104e1816105df565b6104ec8360206105f1565b6040516020016104fd929190610863565b60408051601f198184030181529082905262461bcd60e51b82526102d6916004016108d8565b6000610536826301ffc9a760e01b610556565b80156101d0575061054f826001600160e01b0319610556565b1592915050565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180516001600160e01b03166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156105c8575060208210155b80156105d45750600081115b979650505050505050565b60606101d06001600160a01b03831660145b60606000610600836002610921565b61060b906002610940565b67ffffffffffffffff81111561062357610623610958565b6040519080825280601f01601f19166020018201604052801561064d576020820181803683370190505b509050600360fc1b816000815181106106685761066861096e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106106975761069761096e565b60200101906001600160f81b031916908160001a90535060006106bb846002610921565b6106c6906001610940565b90505b600181111561073e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106106fa576106fa61096e565b1a60f81b8282815181106107105761071061096e565b60200101906001600160f81b031916908160001a90535060049490941c9361073781610984565b90506106c9565b5083156104c35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102d6565b60006020828403121561079f57600080fd5b81356001600160e01b0319811681146104c357600080fd5b80356001600160a01b03811681146107ce57600080fd5b919050565b6000602082840312156107e557600080fd5b6104c3826107b7565b60006020828403121561080057600080fd5b5035919050565b6000806040838503121561081a57600080fd5b8235915061082a602084016107b7565b90509250929050565b60005b8381101561084e578181015183820152602001610836565b8381111561085d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161089b816017850160208801610833565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108cc816028840160208801610833565b01602801949350505050565b60208152600082518060208401526108f7816040850160208701610833565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561093b5761093b61090b565b500290565b600082198211156109535761095361090b565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816109935761099361090b565b50600019019056fea2646970667358221220f0a7aaa3d1c14855e2d2406b1d957ff8a9b88461d6349289e9717783ed26519c64736f6c634300080d0033", + "nonce": "0x3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionType": "CREATE", + "contractName": "EIP4824Registration", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xfd380", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b50600280546001600160a01b03191661dead179055610d11806100346000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637034731b116100715780637034731b146101605780637bb7c0d81461017557806391d1485414610188578063a217fddf1461019b578063d547741f146101a3578063ec87621c146101b657600080fd5b806301ffc9a7146100b957806302fe5305146100e157806309c26fb1146100f6578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014d575b600080fd5b6100cc6100c73660046108cb565b6101cb565b60405190151581526020015b60405180910390f35b6100f46100ef366004610998565b6101f6565b005b6100f46101043660046109f1565b61021b565b61012c610117366004610a60565b60009081526020819052604090206001015490565b6040519081526020016100d8565b6100f4610148366004610a79565b610244565b6100f461015b366004610a79565b61026e565b6101686102ed565b6040516100d89190610afd565b6100f4610183366004610b10565b61037f565b6100cc610196366004610a79565b61044d565b61012c600081565b6100f46101b1366004610a79565b610476565b61012c600080516020610cbc83398151915281565b60006001600160e01b03198216637034731b60e01b14806101f057506101f08261049b565b92915050565b600080516020610cbc83398151915261020e816104d0565b610217826104dd565b5050565b61022684838361037f565b61023e600080516020610cbc8339815191528461053b565b50505050565b60008281526020819052604090206001015461025f816104d0565b610269838361053b565b505050565b6001600160a01b03811633146102e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61021782826105bf565b6060600180546102fc90610b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032890610b6e565b80156103755780601f1061034a57610100808354040283529160200191610375565b820191906000526020600020905b81548152906001019060200180831161035857829003601f168201915b5050505050905090565b6002546001600160a01b0316156103a85760405162dc149f60e41b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0385161790556103cc826104dd565b6103d760008461053b565b6103ef600080516020610cbc8339815191528461053b565b60405163ea5095b160e01b81523060048201526001600160a01b0382169063ea5095b190602401600060405180830381600087803b15801561043057600080fd5b505af1158015610444573d6000803e3d6000fd5b50505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610491816104d0565b61026983836105bf565b60006001600160e01b03198216637965db0b60e01b14806101f057506301ffc9a760e01b6001600160e01b03198316146101f0565b6104da8133610624565b50565b80516104f0906001906020840190610832565b506002546040517f70a842976e7a4dbe172ab201a1d23ff7f220e6edea7c32dc4e15b9210fef09dd91610530916001600160a01b03909116908490610ba8565b60405180910390a150565b610545828261044d565b610217576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561057b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6105c9828261044d565b15610217576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61062e828261044d565b6102175761063b8161067d565b61064683602061068f565b604051602001610657929190610bcc565b60408051601f198184030181529082905262461bcd60e51b82526102da91600401610afd565b60606101f06001600160a01b03831660145b6060600061069e836002610c57565b6106a9906002610c76565b67ffffffffffffffff8111156106c1576106c16108f5565b6040519080825280601f01601f1916602001820160405280156106eb576020820181803683370190505b509050600360fc1b8160008151811061070657610706610c8e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073557610735610c8e565b60200101906001600160f81b031916908160001a9053506000610759846002610c57565b610764906001610c76565b90505b60018111156107dc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061079857610798610c8e565b1a60f81b8282815181106107ae576107ae610c8e565b60200101906001600160f81b031916908160001a90535060049490941c936107d581610ca4565b9050610767565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102da565b9392505050565b82805461083e90610b6e565b90600052602060002090601f01602090048101928261086057600085556108a6565b82601f1061087957805160ff19168380011785556108a6565b828001600101855582156108a6579182015b828111156108a657825182559160200191906001019061088b565b506108b29291506108b6565b5090565b5b808211156108b257600081556001016108b7565b6000602082840312156108dd57600080fd5b81356001600160e01b03198116811461082b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261091c57600080fd5b813567ffffffffffffffff80821115610937576109376108f5565b604051601f8301601f19908116603f0116810190828211818310171561095f5761095f6108f5565b8160405283815286602085880101111561097857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156109aa57600080fd5b813567ffffffffffffffff8111156109c157600080fd5b6109cd8482850161090b565b949350505050565b80356001600160a01b03811681146109ec57600080fd5b919050565b60008060008060808587031215610a0757600080fd5b610a10856109d5565b9350610a1e602086016109d5565b9250604085013567ffffffffffffffff811115610a3a57600080fd5b610a468782880161090b565b925050610a55606086016109d5565b905092959194509250565b600060208284031215610a7257600080fd5b5035919050565b60008060408385031215610a8c57600080fd5b82359150610a9c602084016109d5565b90509250929050565b60005b83811015610ac0578181015183820152602001610aa8565b8381111561023e5750506000910152565b60008151808452610ae9816020860160208601610aa5565b601f01601f19169290920160200192915050565b60208152600061082b6020830184610ad1565b600080600060608486031215610b2557600080fd5b610b2e846109d5565b9250602084013567ffffffffffffffff811115610b4a57600080fd5b610b568682870161090b565b925050610b65604085016109d5565b90509250925092565b600181811c90821680610b8257607f821691505b602082108103610ba257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03831681526040602082018190526000906109cd90830184610ad1565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610c04816017850160208801610aa5565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610c35816028840160208801610aa5565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610c7157610c71610c41565b500290565b60008219821115610c8957610c89610c41565b500190565b634e487b7160e01b600052603260045260246000fd5b600081610cb357610cb3610c41565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a264697066735822122094c82dc3c557efae20b9b764d95d878f9c1f835f0d6dd1c5826e5ca1b38e729464736f6c634300080d0033", + "nonce": "0x4", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionType": "CREATE", + "contractName": "EIP4824RegistrationSummoner", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", + "function": null, + "arguments": [ + "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" + ], + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xa3485", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5060405161083a38038061083a83398101604081905261002f9161007c565b600180546001600160a01b039384166001600160a01b031991821617909155600080549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b61077c806100be6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e7984ed146100515780636f2ddd93146100885780639481f966146100b3578063c3b7822f146100c6575b600080fd5b61006461005f366004610479565b6100e7565b604080516001600160a01b0390931683529015156020830152015b60405180910390f35b60015461009b906001600160a01b031681565b6040516001600160a01b03909116815260200161007f565b60005461009b906001600160a01b031681565b6100d96100d43660046104ef565b610180565b60405161007f9291906105cf565b600154600090819061016a906001600160a01b0316610110868660009182526020526040902090565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b946001600160a01b0386163b1515945092505050565b6001546000906060906101af906001600160a01b03166101aa338d60009182526020526040902090565b610308565b91506001600160a01b03871661022e57600054604051630f76f81b60e31b81526001600160a01b0384811692637bb7c0d8926101f79233928f928f92909116906004016106a3565b600060405180830381600087803b15801561021157600080fd5b505af1158015610225573d6000803e3d6000fd5b505050506102a8565b816001600160a01b03166309c26fb133898c8c60008054906101000a90046001600160a01b03166040518663ffffffff1660e01b81526004016102759594939291906106da565b600060405180830381600087803b15801561028f57600080fd5b505af11580156102a3573d6000803e3d6000fd5b505050505b6102b4868686866103af565b9050336001600160a01b03167fe9e32efd3c9d53b50595bf3de6868c9f83b11066cfae28d57f83b8075e9894a48a8a856040516102f39392919061071a565b60405180910390a29850989650505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166103a95760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c6564000000000000000000604482015260640160405180910390fd5b92915050565b60608382146103d157604051631dc0052360e11b815260040160405180910390fd5b6040519050818152602081018260051b84018360051b8201855b82811461044e578035870180356020820184378782038a01356000808335866000855af161041d573d6000803e3d6000fd5b50508184526020840193503d82523d6000602084013e3d91909101603f0167ffffffffffffffe016906020016103eb565b50604052509095945050505050565b80356001600160a01b038116811461047457600080fd5b919050565b6000806040838503121561048c57600080fd5b6104958361045d565b946020939093013593505050565b60008083601f8401126104b557600080fd5b50813567ffffffffffffffff8111156104cd57600080fd5b6020830191508360208260051b85010111156104e857600080fd5b9250929050565b60008060008060008060008060a0898b03121561050b57600080fd5b88359750602089013567ffffffffffffffff8082111561052a57600080fd5b818b0191508b601f83011261053e57600080fd5b81358181111561054d57600080fd5b8c602082850101111561055f57600080fd5b602083019950975061057360408c0161045d565b965060608b013591508082111561058957600080fd5b6105958c838d016104a3565b909650945060808b01359150808211156105ae57600080fd5b506105bb8b828c016104a3565b999c989b5096995094979396929594505050565b60006040820160018060a01b0385168352602060408185015281855180845260608601915060608160051b87010193508287016000805b8381101561066b57888703605f1901855282518051808952835b8181101561063b578281018901518a82018a01528801610620565b8181111561064b578489838c0101525b50601f01601f191697909701860196509385019391850191600101610606565b50949998505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b038087168352606060208401526106c660608401868861067a565b915080841660408401525095945050505050565b600060018060a01b03808816835280871660208401526080604084015261070560808401868861067a565b91508084166060840152509695505050505050565b60408152600061072e60408301858761067a565b905060018060a01b038316602083015294935050505056fea26469706673582212208fdf4cc18e92a93f770e79e7e931e7ea2c562beae056927dd3fb66d9f46296a664736f6c634300080d0033000000000000000000000000aa3b4c094b34a1a556bcecdc8777af79e45c5d3a0000000000000000000000008180cbfbffe59f54bf3ea5d7ddbae1232e2bb298", + "nonce": "0x5", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x157120", + "gasUsed": "0x9e467", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "logs": [ + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0xe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x4", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000004000000000000000000080000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000020000000000000002000800000000000000008000000000000000000000000000800000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000500000000000020000000000000400000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + }, + { + "transactionHash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionIndex": "0x4", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x219daa", + "gasUsed": "0xc2c8a", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + }, + { + "transactionHash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionIndex": "0x5", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x29774c", + "gasUsed": "0x7d9a2", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + } + ], + "libraries": [], + "pending": [], + "path": "/Users/utsavgupta/Documents/Playground/Independent Study/daostar/contracts/broadcast/Deploy.s.sol/100/run-latest.json", + "returns": {}, + "timestamp": 1682830396, + "chain": 100, + "multi": false, + "commit": "60fd739" +} \ No newline at end of file diff --git a/contracts/broadcast/Deploy.s.sol/100/run-latest.json b/contracts/broadcast/Deploy.s.sol/100/run-latest.json index 2dc8ee3c..0bb5b1ed 100644 --- a/contracts/broadcast/Deploy.s.sol/100/run-latest.json +++ b/contracts/broadcast/Deploy.s.sol/100/run-latest.json @@ -1,55 +1,129 @@ { "transactions": [ { - "hash": "0x8bf48eb3677d905f98d030e84b70941bbc52ea32a58bedb08314c207d296d959", + "hash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionType": "CREATE", + "contractName": "EIP4824Index", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "function": null, + "arguments": null, + "rpc": "https://rpc.gnosischain.com/", + "transaction": { + "type": "0x02", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xcdc1f", + "value": "0x0", + "data": "0x608060405234801561001057600080fd5b5061001c60003361004b565b6100467fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f42783361004b565b6100ea565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166100e6576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100a53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6109d1806100f96000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d1485414610137578063a217fddf1461014a578063d547741f14610152578063ea5095b114610165578063fc65b8411461017857600080fd5b806301ffc9a7146100a35780630d67c955146100cb578063248a9ca3146100e05780632f2ff15d1461011157806336568abe14610124575b600080fd5b6100b66100b136600461078d565b61019f565b60405190151581526020015b60405180910390f35b6100de6100d93660046107d3565b6101d6565b005b6101036100ee3660046107ee565b60009081526020819052604090206001015490565b6040519081526020016100c2565b6100de61011f366004610807565b610240565b6100de610132366004610807565b61026a565b6100b6610145366004610807565b6102ed565b610103600081565b6100de610160366004610807565b610316565b6100de6101733660046107d3565b61033b565b6101037fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f427881565b60006001600160e01b03198216637965db0b60e01b14806101d057506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278610200816103b1565b6040516001600160a01b03831681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a15050565b60008281526020819052604090206001015461025b816103b1565b61026583836103be565b505050565b6001600160a01b03811633146102df5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6102e98282610442565b5050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610331816103b1565b6102658383610442565b6103556001600160a01b038216637034731b60e01b6104a7565b6103725760405163e311fe0960e01b815260040160405180910390fd5b6040516001600160a01b03821681527fd7d9bc81077ae0982e04bde77b33aec8bdcda8102184b537945fe780e77102639060200160405180910390a150565b6103bb81336104ca565b50565b6103c882826102ed565b6102e9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556103fe3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61044c82826102ed565b156102e9576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006104b283610523565b80156104c357506104c38383610556565b9392505050565b6104d482826102ed565b6102e9576104e1816105df565b6104ec8360206105f1565b6040516020016104fd929190610863565b60408051601f198184030181529082905262461bcd60e51b82526102d6916004016108d8565b6000610536826301ffc9a760e01b610556565b80156101d0575061054f826001600160e01b0319610556565b1592915050565b604080516001600160e01b03198316602480830191909152825180830390910181526044909101909152602080820180516001600160e01b03166301ffc9a760e01b178152825160009392849283928392918391908a617530fa92503d915060005190508280156105c8575060208210155b80156105d45750600081115b979650505050505050565b60606101d06001600160a01b03831660145b60606000610600836002610921565b61060b906002610940565b67ffffffffffffffff81111561062357610623610958565b6040519080825280601f01601f19166020018201604052801561064d576020820181803683370190505b509050600360fc1b816000815181106106685761066861096e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106106975761069761096e565b60200101906001600160f81b031916908160001a90535060006106bb846002610921565b6106c6906001610940565b90505b600181111561073e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106106fa576106fa61096e565b1a60f81b8282815181106107105761071061096e565b60200101906001600160f81b031916908160001a90535060049490941c9361073781610984565b90506106c9565b5083156104c35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102d6565b60006020828403121561079f57600080fd5b81356001600160e01b0319811681146104c357600080fd5b80356001600160a01b03811681146107ce57600080fd5b919050565b6000602082840312156107e557600080fd5b6104c3826107b7565b60006020828403121561080057600080fd5b5035919050565b6000806040838503121561081a57600080fd5b8235915061082a602084016107b7565b90509250929050565b60005b8381101561084e578181015183820152602001610836565b8381111561085d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161089b816017850160208801610833565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108cc816028840160208801610833565b01602801949350505050565b60208152600082518060208401526108f7816040850160208701610833565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561093b5761093b61090b565b500290565b600082198211156109535761095361090b565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816109935761099361090b565b50600019019056fea2646970667358221220f0a7aaa3d1c14855e2d2406b1d957ff8a9b88461d6349289e9717783ed26519c64736f6c634300080d0033", + "nonce": "0x3", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + }, + { + "hash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", "transactionType": "CREATE", "contractName": "EIP4824Registration", - "contractAddress": "0x37dF3fC47C1c3A2acaFd2Dad9c1C00090a8655Bc", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", "function": null, "arguments": null, + "rpc": "https://rpc.gnosischain.com/", "transaction": { "type": "0x02", - "from": "0xb0be073cb0b350b26e432808f78d19e8447dd6dd", - "gas": "0xf1c96", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xfd380", "value": "0x0", - "data": "0x608060405234801561001057600080fd5b50600280546001600160a01b03191661dead179055610c6a806100346000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637034731b116100715780637034731b1461016057806391d1485414610175578063a217fddf14610188578063d547741f14610190578063ec87621c146101a3578063f399e22e146101b857600080fd5b806301ffc9a7146100b957806302fe5305146100e1578063248a9ca3146100f65780632f2ff15d1461012757806336568abe1461013a5780634571e3a61461014d575b600080fd5b6100cc6100c736600461083b565b6101cb565b60405190151581526020015b60405180910390f35b6100f46100ef366004610908565b610202565b005b610119610104366004610945565b60009081526020819052604090206001015490565b6040519081526020016100d8565b6100f461013536600461097a565b610227565b6100f461014836600461097a565b610251565b6100f461015b3660046109a6565b6102d0565b6101686102f2565b6040516100d89190610a60565b6100cc61018336600461097a565b610384565b610119600081565b6100f461019e36600461097a565b6103ad565b610119600080516020610c1583398151915281565b6100f46101c6366004610a73565b6103d2565b60006001600160e01b03198216637965db0b60e01b14806101fc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020610c1583398151915261021a81610442565b6102238261044f565b5050565b60008281526020819052604090206001015461024281610442565b61024c83836104ab565b505050565b6001600160a01b03811633146102c65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610223828261052f565b6102da83826103d2565b61024c600080516020610c15833981519152836104ab565b60606001805461030190610ac1565b80601f016020809104026020016040519081016040528092919081815260200182805461032d90610ac1565b801561037a5780601f1061034f5761010080835404028352916020019161037a565b820191906000526020600020905b81548152906001019060200180831161035d57829003601f168201915b5050505050905090565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000828152602081905260409020600101546103c881610442565b61024c838361052f565b6002546001600160a01b0316156103fb5760405162dc149f60e41b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b03841617905561041f8161044f565b61042a6000836104ab565b610223600080516020610c15833981519152836104ab565b61044c8133610594565b50565b80516104629060019060208401906107a2565b506002546040517fc7908db8c8588ac430ee4efe758e7ba70a0d22e32a138b548fd0d34fa8a48395916104a09184916001600160a01b031690610afb565b60405180910390a150565b6104b58282610384565b610223576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556104eb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6105398282610384565b15610223576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61059e8282610384565b610223576105ab816105ed565b6105b68360206105ff565b6040516020016105c7929190610b25565b60408051601f198184030181529082905262461bcd60e51b82526102bd91600401610a60565b60606101fc6001600160a01b03831660145b6060600061060e836002610bb0565b610619906002610bcf565b67ffffffffffffffff81111561063157610631610865565b6040519080825280601f01601f19166020018201604052801561065b576020820181803683370190505b509050600360fc1b8160008151811061067657610676610be7565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106106a5576106a5610be7565b60200101906001600160f81b031916908160001a90535060006106c9846002610bb0565b6106d4906001610bcf565b90505b600181111561074c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061070857610708610be7565b1a60f81b82828151811061071e5761071e610be7565b60200101906001600160f81b031916908160001a90535060049490941c9361074581610bfd565b90506106d7565b50831561079b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102bd565b9392505050565b8280546107ae90610ac1565b90600052602060002090601f0160209004810192826107d05760008555610816565b82601f106107e957805160ff1916838001178555610816565b82800160010185558215610816579182015b828111156108165782518255916020019190600101906107fb565b50610822929150610826565b5090565b5b808211156108225760008155600101610827565b60006020828403121561084d57600080fd5b81356001600160e01b03198116811461079b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261088c57600080fd5b813567ffffffffffffffff808211156108a7576108a7610865565b604051601f8301601f19908116603f011681019082821181831017156108cf576108cf610865565b816040528381528660208588010111156108e857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561091a57600080fd5b813567ffffffffffffffff81111561093157600080fd5b61093d8482850161087b565b949350505050565b60006020828403121561095757600080fd5b5035919050565b80356001600160a01b038116811461097557600080fd5b919050565b6000806040838503121561098d57600080fd5b8235915061099d6020840161095e565b90509250929050565b6000806000606084860312156109bb57600080fd5b6109c48461095e565b92506109d26020850161095e565b9150604084013567ffffffffffffffff8111156109ee57600080fd5b6109fa8682870161087b565b9150509250925092565b60005b83811015610a1f578181015183820152602001610a07565b83811115610a2e576000848401525b50505050565b60008151808452610a4c816020860160208601610a04565b601f01601f19169290920160200192915050565b60208152600061079b6020830184610a34565b60008060408385031215610a8657600080fd5b610a8f8361095e565b9150602083013567ffffffffffffffff811115610aab57600080fd5b610ab78582860161087b565b9150509250929050565b600181811c90821680610ad557607f821691505b602082108103610af557634e487b7160e01b600052602260045260246000fd5b50919050565b604081526000610b0e6040830185610a34565b905060018060a01b03831660208301529392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610b5d816017850160208801610a04565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610b8e816028840160208801610a04565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610bca57610bca610b9a565b500290565b60008219821115610be257610be2610b9a565b500190565b634e487b7160e01b600052603260045260246000fd5b600081610c0c57610c0c610b9a565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a264697066735822122004434a16581c34b61e358a1d4d24811e4f6c8beda064df7cb0ff6ef504d6140364736f6c634300080d0033", - "nonce": "0x1", + "data": "0x608060405234801561001057600080fd5b50600280546001600160a01b03191661dead179055610d11806100346000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637034731b116100715780637034731b146101605780637bb7c0d81461017557806391d1485414610188578063a217fddf1461019b578063d547741f146101a3578063ec87621c146101b657600080fd5b806301ffc9a7146100b957806302fe5305146100e157806309c26fb1146100f6578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014d575b600080fd5b6100cc6100c73660046108cb565b6101cb565b60405190151581526020015b60405180910390f35b6100f46100ef366004610998565b6101f6565b005b6100f46101043660046109f1565b61021b565b61012c610117366004610a60565b60009081526020819052604090206001015490565b6040519081526020016100d8565b6100f4610148366004610a79565b610244565b6100f461015b366004610a79565b61026e565b6101686102ed565b6040516100d89190610afd565b6100f4610183366004610b10565b61037f565b6100cc610196366004610a79565b61044d565b61012c600081565b6100f46101b1366004610a79565b610476565b61012c600080516020610cbc83398151915281565b60006001600160e01b03198216637034731b60e01b14806101f057506101f08261049b565b92915050565b600080516020610cbc83398151915261020e816104d0565b610217826104dd565b5050565b61022684838361037f565b61023e600080516020610cbc8339815191528461053b565b50505050565b60008281526020819052604090206001015461025f816104d0565b610269838361053b565b505050565b6001600160a01b03811633146102e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61021782826105bf565b6060600180546102fc90610b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461032890610b6e565b80156103755780601f1061034a57610100808354040283529160200191610375565b820191906000526020600020905b81548152906001019060200180831161035857829003601f168201915b5050505050905090565b6002546001600160a01b0316156103a85760405162dc149f60e41b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0385161790556103cc826104dd565b6103d760008461053b565b6103ef600080516020610cbc8339815191528461053b565b60405163ea5095b160e01b81523060048201526001600160a01b0382169063ea5095b190602401600060405180830381600087803b15801561043057600080fd5b505af1158015610444573d6000803e3d6000fd5b50505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260208190526040902060010154610491816104d0565b61026983836105bf565b60006001600160e01b03198216637965db0b60e01b14806101f057506301ffc9a760e01b6001600160e01b03198316146101f0565b6104da8133610624565b50565b80516104f0906001906020840190610832565b506002546040517f70a842976e7a4dbe172ab201a1d23ff7f220e6edea7c32dc4e15b9210fef09dd91610530916001600160a01b03909116908490610ba8565b60405180910390a150565b610545828261044d565b610217576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561057b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6105c9828261044d565b15610217576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61062e828261044d565b6102175761063b8161067d565b61064683602061068f565b604051602001610657929190610bcc565b60408051601f198184030181529082905262461bcd60e51b82526102da91600401610afd565b60606101f06001600160a01b03831660145b6060600061069e836002610c57565b6106a9906002610c76565b67ffffffffffffffff8111156106c1576106c16108f5565b6040519080825280601f01601f1916602001820160405280156106eb576020820181803683370190505b509050600360fc1b8160008151811061070657610706610c8e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073557610735610c8e565b60200101906001600160f81b031916908160001a9053506000610759846002610c57565b610764906001610c76565b90505b60018111156107dc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061079857610798610c8e565b1a60f81b8282815181106107ae576107ae610c8e565b60200101906001600160f81b031916908160001a90535060049490941c936107d581610ca4565b9050610767565b50831561082b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016102da565b9392505050565b82805461083e90610b6e565b90600052602060002090601f01602090048101928261086057600085556108a6565b82601f1061087957805160ff19168380011785556108a6565b828001600101855582156108a6579182015b828111156108a657825182559160200191906001019061088b565b506108b29291506108b6565b5090565b5b808211156108b257600081556001016108b7565b6000602082840312156108dd57600080fd5b81356001600160e01b03198116811461082b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261091c57600080fd5b813567ffffffffffffffff80821115610937576109376108f5565b604051601f8301601f19908116603f0116810190828211818310171561095f5761095f6108f5565b8160405283815286602085880101111561097857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156109aa57600080fd5b813567ffffffffffffffff8111156109c157600080fd5b6109cd8482850161090b565b949350505050565b80356001600160a01b03811681146109ec57600080fd5b919050565b60008060008060808587031215610a0757600080fd5b610a10856109d5565b9350610a1e602086016109d5565b9250604085013567ffffffffffffffff811115610a3a57600080fd5b610a468782880161090b565b925050610a55606086016109d5565b905092959194509250565b600060208284031215610a7257600080fd5b5035919050565b60008060408385031215610a8c57600080fd5b82359150610a9c602084016109d5565b90509250929050565b60005b83811015610ac0578181015183820152602001610aa8565b8381111561023e5750506000910152565b60008151808452610ae9816020860160208601610aa5565b601f01601f19169290920160200192915050565b60208152600061082b6020830184610ad1565b600080600060608486031215610b2557600080fd5b610b2e846109d5565b9250602084013567ffffffffffffffff811115610b4a57600080fd5b610b568682870161090b565b925050610b65604085016109d5565b90509250925092565b600181811c90821680610b8257607f821691505b602082108103610ba257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03831681526040602082018190526000906109cd90830184610ad1565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610c04816017850160208801610aa5565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610c35816028840160208801610aa5565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610c7157610c71610c41565b500290565b60008219821115610c8957610c89610c41565b500190565b634e487b7160e01b600052603260045260246000fd5b600081610cb357610cb3610c41565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a264697066735822122094c82dc3c557efae20b9b764d95d878f9c1f835f0d6dd1c5826e5ca1b38e729464736f6c634300080d0033", + "nonce": "0x4", "accessList": [] }, - "additionalContracts": [] + "additionalContracts": [], + "isFixedGasLimit": false }, { - "hash": "0xfce6bb7411bb193d4b28c6f362d7e077fc99a9ec2f6d35ad7980f9cc59fd0a32", + "hash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", "transactionType": "CREATE", "contractName": "EIP4824RegistrationSummoner", - "contractAddress": "0x4f2c9028fE7107d9f1A8a9CFf34aa2d3F28600fa", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", "function": null, "arguments": [ - "0x37dF3fC47C1c3A2acaFd2Dad9c1C00090a8655Bc" + "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", + "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298" ], + "rpc": "https://rpc.gnosischain.com/", "transaction": { "type": "0x02", - "from": "0xb0be073cb0b350b26e432808f78d19e8447dd6dd", - "gas": "0x96599", + "from": "0x234abe9e6aa6c2266f042dacc3d9da55d217259e", + "gas": "0xa3485", "value": "0x0", - "data": "0x608060405234801561001057600080fd5b506040516107be3803806107be83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61072b806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634e7984ed146100465780636f2ddd931461007d578063c3b7822f146100a8575b600080fd5b61005961005436600461043a565b6100c9565b604080516001600160a01b0390931683529015156020830152015b60405180910390f35b600054610090906001600160a01b031681565b6040516001600160a01b039091168152602001610074565b6100bb6100b63660046104b0565b610160565b604051610074929190610590565b60008054819061014a906001600160a01b03166100f0868660009182526020526040902090565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b946001600160a01b0386163b1515945092505050565b6000805460609061018d906001600160a01b0316610188338d60009182526020526040902090565b6102c9565b91506001600160a01b038716610204576040516379ccf11760e11b81526001600160a01b0383169063f399e22e906101cd9033908d908d90600401610664565b600060405180830381600087803b1580156101e757600080fd5b505af11580156101fb573d6000803e3d6000fd5b50505050610269565b6040516322b8f1d360e11b81526001600160a01b03831690634571e3a6906102369033908b908e908e90600401610692565b600060405180830381600087803b15801561025057600080fd5b505af1158015610264573d6000803e3d6000fd5b505050505b61027586868686610370565b9050336001600160a01b03167fe9e32efd3c9d53b50595bf3de6868c9f83b11066cfae28d57f83b8075e9894a48a8a856040516102b4939291906106c9565b60405180910390a29850989650505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b03811661036a5760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c6564000000000000000000604482015260640160405180910390fd5b92915050565b606083821461039257604051631dc0052360e11b815260040160405180910390fd5b6040519050818152602081018260051b84018360051b8201855b82811461040f578035870180356020820184378782038a01356000808335866000855af16103de573d6000803e3d6000fd5b50508184526020840193503d82523d6000602084013e3d91909101603f0167ffffffffffffffe016906020016103ac565b50604052509095945050505050565b80356001600160a01b038116811461043557600080fd5b919050565b6000806040838503121561044d57600080fd5b6104568361041e565b946020939093013593505050565b60008083601f84011261047657600080fd5b50813567ffffffffffffffff81111561048e57600080fd5b6020830191508360208260051b85010111156104a957600080fd5b9250929050565b60008060008060008060008060a0898b0312156104cc57600080fd5b88359750602089013567ffffffffffffffff808211156104eb57600080fd5b818b0191508b601f8301126104ff57600080fd5b81358181111561050e57600080fd5b8c602082850101111561052057600080fd5b602083019950975061053460408c0161041e565b965060608b013591508082111561054a57600080fd5b6105568c838d01610464565b909650945060808b013591508082111561056f57600080fd5b5061057c8b828c01610464565b999c989b5096995094979396929594505050565b60006040820160018060a01b0385168352602060408185015281855180845260608601915060608160051b87010193508287016000805b8381101561062c57888703605f1901855282518051808952835b818110156105fc578281018901518a82018a015288016105e1565b8181111561060c578489838c0101525b50601f01601f1916979097018601965093850193918501916001016105c7565b50949998505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0384168152604060208201819052600090610689908301848661063b565b95945050505050565b6001600160a01b038581168252841660208201526060604082018190526000906106bf908301848661063b565b9695505050505050565b6040815260006106dd60408301858761063b565b905060018060a01b038316602083015294935050505056fea26469706673582212200a959a77672d8b5d6c3fc026b1a9c9049ca710d0674bfc4089aa733b59a7febd64736f6c634300080d003300000000000000000000000037df3fc47c1c3a2acafd2dad9c1c00090a8655bc", - "nonce": "0x2", + "data": "0x608060405234801561001057600080fd5b5060405161083a38038061083a83398101604081905261002f9161007c565b600180546001600160a01b039384166001600160a01b031991821617909155600080549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b61077c806100be6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e7984ed146100515780636f2ddd93146100885780639481f966146100b3578063c3b7822f146100c6575b600080fd5b61006461005f366004610479565b6100e7565b604080516001600160a01b0390931683529015156020830152015b60405180910390f35b60015461009b906001600160a01b031681565b6040516001600160a01b03909116815260200161007f565b60005461009b906001600160a01b031681565b6100d96100d43660046104ef565b610180565b60405161007f9291906105cf565b600154600090819061016a906001600160a01b0316610110868660009182526020526040902090565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b946001600160a01b0386163b1515945092505050565b6001546000906060906101af906001600160a01b03166101aa338d60009182526020526040902090565b610308565b91506001600160a01b03871661022e57600054604051630f76f81b60e31b81526001600160a01b0384811692637bb7c0d8926101f79233928f928f92909116906004016106a3565b600060405180830381600087803b15801561021157600080fd5b505af1158015610225573d6000803e3d6000fd5b505050506102a8565b816001600160a01b03166309c26fb133898c8c60008054906101000a90046001600160a01b03166040518663ffffffff1660e01b81526004016102759594939291906106da565b600060405180830381600087803b15801561028f57600080fd5b505af11580156102a3573d6000803e3d6000fd5b505050505b6102b4868686866103af565b9050336001600160a01b03167fe9e32efd3c9d53b50595bf3de6868c9f83b11066cfae28d57f83b8075e9894a48a8a856040516102f39392919061071a565b60405180910390a29850989650505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166103a95760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c6564000000000000000000604482015260640160405180910390fd5b92915050565b60608382146103d157604051631dc0052360e11b815260040160405180910390fd5b6040519050818152602081018260051b84018360051b8201855b82811461044e578035870180356020820184378782038a01356000808335866000855af161041d573d6000803e3d6000fd5b50508184526020840193503d82523d6000602084013e3d91909101603f0167ffffffffffffffe016906020016103eb565b50604052509095945050505050565b80356001600160a01b038116811461047457600080fd5b919050565b6000806040838503121561048c57600080fd5b6104958361045d565b946020939093013593505050565b60008083601f8401126104b557600080fd5b50813567ffffffffffffffff8111156104cd57600080fd5b6020830191508360208260051b85010111156104e857600080fd5b9250929050565b60008060008060008060008060a0898b03121561050b57600080fd5b88359750602089013567ffffffffffffffff8082111561052a57600080fd5b818b0191508b601f83011261053e57600080fd5b81358181111561054d57600080fd5b8c602082850101111561055f57600080fd5b602083019950975061057360408c0161045d565b965060608b013591508082111561058957600080fd5b6105958c838d016104a3565b909650945060808b01359150808211156105ae57600080fd5b506105bb8b828c016104a3565b999c989b5096995094979396929594505050565b60006040820160018060a01b0385168352602060408185015281855180845260608601915060608160051b87010193508287016000805b8381101561066b57888703605f1901855282518051808952835b8181101561063b578281018901518a82018a01528801610620565b8181111561064b578489838c0101525b50601f01601f191697909701860196509385019391850191600101610606565b50949998505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600060018060a01b038087168352606060208401526106c660608401868861067a565b915080841660408401525095945050505050565b600060018060a01b03808816835280871660208401526080604084015261070560808401868861067a565b91508084166060840152509695505050505050565b60408152600061072e60408301858761067a565b905060018060a01b038316602083015294935050505056fea26469706673582212208fdf4cc18e92a93f770e79e7e931e7ea2c562beae056927dd3fb66d9f46296a664736f6c634300080d0033000000000000000000000000aa3b4c094b34a1a556bcecdc8777af79e45c5d3a0000000000000000000000008180cbfbffe59f54bf3ea5d7ddbae1232e2bb298", + "nonce": "0x5", "accessList": [] }, - "additionalContracts": [] + "additionalContracts": [], + "isFixedGasLimit": false } ], "receipts": [ { - "transactionHash": "0x8bf48eb3677d905f98d030e84b70941bbc52ea32a58bedb08314c207d296d959", - "transactionIndex": "0x5", - "blockHash": "0x0ef74c537183c710b5603868d5321d62c7822a7c4ec89ae903c29a18ab38a465", - "blockNumber": "0x1810d20", - "from": "0xb0bE073cB0B350B26e432808F78d19E8447DD6DD", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", "to": null, - "cumulativeGasUsed": "0x1913b7", - "gasUsed": "0xb9fd6", - "contractAddress": "0x37dF3fC47C1c3A2acaFd2Dad9c1C00090a8655Bc", + "cumulativeGasUsed": "0x157120", + "gasUsed": "0x9e467", + "contractAddress": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "logs": [ + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298", + "topics": [ + "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d", + "0xe724a73ea485d92e6c914362ee04128d32f0adde3c608c37c81659f2271f4278", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e", + "0x000000000000000000000000234abe9e6aa6c2266f042dacc3d9da55d217259e" + ], + "data": "0x", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "transactionHash": "0x9ebc9ba962f072ce6e97f9c5bf2ce8bd138dfc8446fad040d1cf5494300d19da", + "transactionIndex": "0x3", + "logIndex": "0x4", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000004000000000000000000080000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000020000000000000002000800000000000000008000000000000000000000000000800000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000500000000000020000000000000400000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e07" + }, + { + "transactionHash": "0x3203caaca5f7c46f22dca01c9e71b8f91e19c5a2fb3797bca1746d6f061663ba", + "transactionIndex": "0x4", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", + "to": null, + "cumulativeGasUsed": "0x219daa", + "gasUsed": "0xc2c8a", + "contractAddress": "0xAa3B4c094B34a1A556bCeCDc8777af79e45C5D3A", "logs": [], "status": "0x1", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", @@ -57,15 +131,15 @@ "effectiveGasPrice": "0xb2d05e07" }, { - "transactionHash": "0xfce6bb7411bb193d4b28c6f362d7e077fc99a9ec2f6d35ad7980f9cc59fd0a32", - "transactionIndex": "0x0", - "blockHash": "0x15d85a7541fc9df2429c0aed623e216984cb9b12cc5bed60b97506ee6ffb4847", - "blockNumber": "0x1810d22", - "from": "0xb0bE073cB0B350B26e432808F78d19E8447DD6DD", + "transactionHash": "0x467b7f38fdb28b10a1fce2934d8151b087ecb22aa56f857177b0bb5fad2dc4b0", + "transactionIndex": "0x5", + "blockHash": "0x9329d81d0320a10d699331c916423193bb50ecff33fc9aa7e742cd9eefb69de8", + "blockNumber": "0x1a6b3b2", + "from": "0x234AbE9E6aA6C2266F042dAcC3D9dA55d217259e", "to": null, - "cumulativeGasUsed": "0x73a76", - "gasUsed": "0x73a76", - "contractAddress": "0x4f2c9028fE7107d9f1A8a9CFf34aa2d3F28600fa", + "cumulativeGasUsed": "0x29774c", + "gasUsed": "0x7d9a2", + "contractAddress": "0x84AC18222b52a77656CaFc13aCDF4EE16eA6Fd2c", "logs": [], "status": "0x1", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", @@ -75,8 +149,10 @@ ], "libraries": [], "pending": [], - "path": "/Users/isaacpatka/metagov/daostar/contracts/broadcast/Deploy.s.sol/100/run-latest.json", + "path": "/Users/utsavgupta/Documents/Playground/Independent Study/daostar/contracts/broadcast/Deploy.s.sol/100/run-latest.json", "returns": {}, - "timestamp": 1669837617, - "commit": "d769b0b" + "timestamp": 1682830396, + "chain": 100, + "multi": false, + "commit": "60fd739" } \ No newline at end of file diff --git a/daostar-website/src/App.js b/daostar-website/src/App.js index 612e9050..6c67f498 100644 --- a/daostar-website/src/App.js +++ b/daostar-website/src/App.js @@ -1,82 +1,135 @@ -import { Route, Routes } from 'react-router-dom'; -import Homepage from './components/Homepage/Homepage'; -import Register from './components/Register/Register'; -import TopNavigation from './components/TopNavigation/TopNavigation'; -import RegistrationPage from './components/RegistrationPage/RegistrationPage'; -import ExplorePage from './components/ExplorePage/ExplorePage'; +import { Route, Routes } from "react-router-dom"; +import Homepage from "./components/Homepage/Homepage"; +import Register from "./components/Register/Register"; +import TopNavigation from "./components/TopNavigation/TopNavigation"; +import RegistrationPage from "./components/RegistrationPage/RegistrationPage"; +import ExplorePage from "./components/ExplorePage/ExplorePage"; import { WagmiConfig, createClient } from "wagmi"; import { ConnectKitProvider, getDefaultClient } from "connectkit"; -import { useQuery } from '@apollo/client' +import { useQuery } from "@apollo/client"; -import queries from './components/ExplorePage/queries/registrations' +import queries from "./components/ExplorePage/queries/registrations"; -import './App.css'; -import './bp4-theme.css'; -import Eye from './components/Homepage/Eye/Eye'; +import "./App.css"; +import "./bp4-theme.css"; +import Eye from "./components/Homepage/Eye/Eye"; const alchemyId = process.env.ALCHEMY_ID; const client = createClient( - getDefaultClient({ - appName: "Your App Name", - alchemyId, - }), + getDefaultClient({ + appName: "Your App Name", + alchemyId, + }) ); function App() { - const { loading, error, data: mainnetData } = useQuery(queries.REGISTRATIONS, { context: { apiName: 'mainnet' }, variables: { id: 'mainnet' } }) - const goerliRes = useQuery(queries.REGISTRATIONS, { context: { apiName: 'goerli' }, variables: { id: 'goerli' } }) - const { loading: goerliLoading, error: goerliError, data: goerliData } = goerliRes - console.log({ mainnetData, goerliData }) + const { + loading, + error, + data: mainnetData, + } = useQuery(queries.REGISTRATIONS, { + context: { apiName: "mainnet" }, + variables: { id: "mainnet" }, + }); + const goerliRes = useQuery(queries.REGISTRATIONS, { + context: { apiName: "goerli" }, + variables: { id: "goerli" }, + }); + const { + loading: goerliLoading, + error: goerliError, + data: goerliData, + } = goerliRes; + const gnosisRes = useQuery(queries.REGISTRATIONS, { + context: { apiName: "gnosis" }, + variables: { id: "gnosis" }, + }); + const { + loading: gnosisLoading, + error: gnosisError, + data: gnosisData, + } = gnosisRes; + console.log({ mainnetData, goerliData, gnosisData }); - if (error || goerliError) return 'error' - if (loading || goerliLoading) return 'loading...' - const mainnetRegistrations = mainnetData?.registrationNetwork?.registrations || [] - const goerliRegistrations = goerliData?.registrationNetwork?.registrations || [] - const registrationInstances = mainnetRegistrations.concat(goerliRegistrations) + if (error || goerliError || gnosisError) return "error"; + if (loading || goerliLoading || gnosisLoading) return "loading..."; + const mainnetRegistrations = + mainnetData?.registrationNetwork?.registrations || []; + const goerliRegistrations = + goerliData?.registrationNetwork?.registrations || []; + const gnosisRegistrations = + gnosisData?.registrationNetwork?.registrations || []; + const registrationInstances = mainnetRegistrations.concat( + goerliRegistrations, + gnosisRegistrations + ); - console.log({ registrationInstances }) + console.log({ registrationInstances }); - return ( - - - - - - {/* */} + return ( + + + + + {/* */} - - } /> - } /> - } /> - } /> - } /> - { - window.location.href = 'https://github.com/metagov/daostar/discussions/41'; - return null; - }}/> - - - - - - ); + + } /> + } /> + } + /> + + } + /> + + } + /> + { + window.location.href = + "https://github.com/metagov/daostar/discussions/41"; + return null; + }} + /> + + + + + ); } -if (window.location.path === "creative-universe"){ - window.location = "https://github.com/metagov/daostar/discussions/41" +if (window.location.path === "creative-universe") { + window.location = "https://github.com/metagov/daostar/discussions/41"; } export default App; - diff --git a/daostar-website/src/index.js b/daostar-website/src/index.js index e04c9923..1ddb0f86 100644 --- a/daostar-website/src/index.js +++ b/daostar-website/src/index.js @@ -1,22 +1,28 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import { Web3ReactProvider } from '@web3-react/core' -import { Web3Provider } from '@ethersproject/providers' -import App from './App.js' -import reportWebVitals from './reportWebVitals' -import { BrowserRouter } from 'react-router-dom' -import { FocusStyleManager } from '@blueprintjs/core' -import { ApolloClient, ApolloLink, HttpLink, InMemoryCache, ApolloProvider } from '@apollo/client' -import { createHttpLink } from 'apollo-link-http' -import { MultiAPILink } from '@habx/apollo-multi-endpoint-link' -import './index.css' +import React from "react"; +import ReactDOM from "react-dom/client"; +import { Web3ReactProvider } from "@web3-react/core"; +import { Web3Provider } from "@ethersproject/providers"; +import App from "./App.js"; +import reportWebVitals from "./reportWebVitals"; +import { BrowserRouter } from "react-router-dom"; +import { FocusStyleManager } from "@blueprintjs/core"; +import { + ApolloClient, + ApolloLink, + HttpLink, + InMemoryCache, + ApolloProvider, +} from "@apollo/client"; +import { createHttpLink } from "apollo-link-http"; +import { MultiAPILink } from "@habx/apollo-multi-endpoint-link"; +import "./index.css"; -const root = ReactDOM.createRoot(document.getElementById('root')) +const root = ReactDOM.createRoot(document.getElementById("root")); -FocusStyleManager.onlyShowFocusOnTabs() +FocusStyleManager.onlyShowFocusOnTabs(); function getLibrary(provider) { - return new Web3Provider(provider) + return new Web3Provider(provider); } const client = new ApolloClient({ @@ -25,14 +31,15 @@ const client = new ApolloClient({ endpoints: { goerli: `https://api.thegraph.com/subgraphs/name/ipatka/daostar-goerli`, mainnet: `https://api.thegraph.com/subgraphs/name/ipatka/daostar`, + gnosis: `https://api.thegraph.com/subgraphs/name/mrutsavg/daostar-gnosis`, }, // defaultEndpoint: 'https://api.thegraph.com/subgraphs/name/ipatka/daostar', - httpSuffix: '', + httpSuffix: "", createHttpLink: createHttpLink, }), ]), cache: new InMemoryCache({}), -}) +}); root.render( @@ -44,9 +51,9 @@ root.render( -) +); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals() +reportWebVitals();