|
1 | 1 | { |
2 | | - "address": "0xc9aF9335327cAe0Cd45EC96ad9bDcD4304772729", |
| 2 | + "address": "0x67f3b472F345119692d575E59190400E371946f6", |
3 | 3 | "abi": [ |
4 | 4 | { |
5 | 5 | "stateMutability": "payable", |
|
169 | 169 | "name": "DisputeCreation", |
170 | 170 | "type": "event" |
171 | 171 | }, |
172 | | - { |
173 | | - "anonymous": false, |
174 | | - "inputs": [ |
175 | | - { |
176 | | - "indexed": true, |
177 | | - "internalType": "uint256", |
178 | | - "name": "_externalDisputeID", |
179 | | - "type": "uint256" |
180 | | - }, |
181 | | - { |
182 | | - "indexed": true, |
183 | | - "internalType": "address", |
184 | | - "name": "_party", |
185 | | - "type": "address" |
186 | | - }, |
187 | | - { |
188 | | - "indexed": false, |
189 | | - "internalType": "string", |
190 | | - "name": "_evidence", |
191 | | - "type": "string" |
192 | | - } |
193 | | - ], |
194 | | - "name": "Evidence", |
195 | | - "type": "event" |
196 | | - }, |
197 | 172 | { |
198 | 173 | "anonymous": false, |
199 | 174 | "inputs": [ |
|
892 | 867 | "stateMutability": "view", |
893 | 868 | "type": "function" |
894 | 869 | }, |
895 | | - { |
896 | | - "inputs": [ |
897 | | - { |
898 | | - "internalType": "uint256", |
899 | | - "name": "_externalDisputeID", |
900 | | - "type": "uint256" |
901 | | - }, |
902 | | - { |
903 | | - "internalType": "string", |
904 | | - "name": "_evidence", |
905 | | - "type": "string" |
906 | | - } |
907 | | - ], |
908 | | - "name": "submitEvidence", |
909 | | - "outputs": [], |
910 | | - "stateMutability": "nonpayable", |
911 | | - "type": "function" |
912 | | - }, |
913 | 870 | { |
914 | 871 | "inputs": [ |
915 | 872 | { |
|
979 | 936 | "type": "constructor" |
980 | 937 | } |
981 | 938 | ], |
982 | | - "transactionHash": "0xe5afa04a2e0cb9cc02951fcabb79891325d2152c8054e262a805322ec15f5836", |
| 939 | + "transactionHash": "0xa3af8f34e0bbbc09b7bd3055284a3754afeb9a967412a84ae9089e61fde56a87", |
983 | 940 | "receipt": { |
984 | 941 | "to": null, |
985 | 942 | "from": "0xF50E77f2A2B6138D16c6c7511562E5C33c4B15A3", |
986 | | - "contractAddress": "0xc9aF9335327cAe0Cd45EC96ad9bDcD4304772729", |
987 | | - "transactionIndex": 3, |
988 | | - "gasUsed": "177903", |
989 | | - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000080000000000000000000000", |
990 | | - "blockHash": "0x71d9202ae0e221529b48f8d44aee36e7847143ea2210581080614a4f13819494", |
991 | | - "transactionHash": "0xe5afa04a2e0cb9cc02951fcabb79891325d2152c8054e262a805322ec15f5836", |
| 943 | + "contractAddress": "0x67f3b472F345119692d575E59190400E371946f6", |
| 944 | + "transactionIndex": 1, |
| 945 | + "gasUsed": "177891", |
| 946 | + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| 947 | + "blockHash": "0xbb4752a44ebc832fe570407ae46300075e114ae43362cba2d086c08be868cfcb", |
| 948 | + "transactionHash": "0xa3af8f34e0bbbc09b7bd3055284a3754afeb9a967412a84ae9089e61fde56a87", |
992 | 949 | "logs": [ |
993 | 950 | { |
994 | | - "transactionIndex": 3, |
995 | | - "blockNumber": 48886762, |
996 | | - "transactionHash": "0xe5afa04a2e0cb9cc02951fcabb79891325d2152c8054e262a805322ec15f5836", |
997 | | - "address": "0xc9aF9335327cAe0Cd45EC96ad9bDcD4304772729", |
| 951 | + "transactionIndex": 1, |
| 952 | + "blockNumber": 49141470, |
| 953 | + "transactionHash": "0xa3af8f34e0bbbc09b7bd3055284a3754afeb9a967412a84ae9089e61fde56a87", |
| 954 | + "address": "0x67f3b472F345119692d575E59190400E371946f6", |
998 | 955 | "topics": [ |
999 | 956 | "0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2" |
1000 | 957 | ], |
1001 | 958 | "data": "0x0000000000000000000000000000000000000000000000000000000000000001", |
1002 | | - "logIndex": 9, |
1003 | | - "blockHash": "0x71d9202ae0e221529b48f8d44aee36e7847143ea2210581080614a4f13819494" |
| 959 | + "logIndex": 0, |
| 960 | + "blockHash": "0xbb4752a44ebc832fe570407ae46300075e114ae43362cba2d086c08be868cfcb" |
1004 | 961 | } |
1005 | 962 | ], |
1006 | | - "blockNumber": 48886762, |
1007 | | - "cumulativeGasUsed": "542167", |
| 963 | + "blockNumber": 49141470, |
| 964 | + "cumulativeGasUsed": "177891", |
1008 | 965 | "status": 1, |
1009 | 966 | "byzantium": true |
1010 | 967 | }, |
1011 | 968 | "args": [ |
1012 | | - "0x2757458b91faaB4240A6eAE72185C8185683a642", |
| 969 | + "0x5a41ebCD0b78eD6C42E0AD23A7b7a8001c45bEC9", |
1013 | 970 | "0x485cc955000000000000000000000000f50e77f2a2b6138d16c6c7511562e5c33c4b15a30000000000000000000000000000000000000000000000000000000000000000" |
1014 | 971 | ], |
1015 | 972 | "numDeployments": 1, |
1016 | | - "solcInputHash": "df8158a139d57b3f30bf05a9c294f570", |
| 973 | + "solcInputHash": "9cc67b743e8898be8182d59861833cfc", |
1017 | 974 | "metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"Simon Malatrait < [email protected]>\",\"details\":\"This contract implements a UUPS Proxy compliant with ERC-1967 & ERC-1822.This contract delegates all calls to another contract (UUPS Proxiable) through a fallback function and the use of the `delegatecall` EVM instruction.We refer to the Proxiable contract (as per ERC-1822) with `implementation`.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the upgradeable proxy with an initial implementation specified by `_implementation`. If `_data` is nonempty, it's used as data in a delegate call to `_implementation`. This will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity constructor.\"}},\"stateVariables\":{\"IMPLEMENTATION_SLOT\":{\"details\":\"Storage slot with the address of the current implementation. This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is validated in the constructor. NOTE: bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)\"}},\"title\":\"UUPS Proxy\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/proxy/UUPSProxy.sol\":\"UUPSProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":100},\"remappings\":[]},\"sources\":{\"src/proxy/UUPSProxy.sol\":{\"content\":\"//SPDX-License-Identifier: MIT\\n// Adapted from <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/proxy/ERC1967/ERC1967Proxy.sol>\\n\\n/**\\n * @authors: [@malatrax]\\n * @reviewers: []\\n * @auditors: []\\n * @bounties: []\\n * @deployments: []\\n */\\npragma solidity 0.8.18;\\n\\n/**\\n * @title UUPS Proxy\\n * @author Simon Malatrait < [email protected]>\\n * @dev This contract implements a UUPS Proxy compliant with ERC-1967 & ERC-1822.\\n * @dev This contract delegates all calls to another contract (UUPS Proxiable) through a fallback function and the use of the `delegatecall` EVM instruction.\\n * @dev We refer to the Proxiable contract (as per ERC-1822) with `implementation`.\\n */\\ncontract UUPSProxy {\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n * NOTE: bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)\\n */\\n bytes32 private constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n // ************************************* //\\n // * Constructor * //\\n // ************************************* //\\n\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_implementation`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_implementation`. This will typically be an encoded\\n * function call, and allows initializing the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _implementation, bytes memory _data) {\\n assembly {\\n sstore(IMPLEMENTATION_SLOT, _implementation)\\n }\\n\\n if (_data.length != 0) {\\n (bool success, ) = _implementation.delegatecall(_data);\\n require(success, \\\"Proxy Constructor failed\\\");\\n }\\n }\\n\\n // ************************************* //\\n // * State Modifiers * //\\n // ************************************* //\\n\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * NOTE: This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n // ************************************* //\\n // * Internal Views * //\\n // ************************************* //\\n\\n function _getImplementation() internal view returns (address implementation) {\\n assembly {\\n implementation := sload(IMPLEMENTATION_SLOT)\\n }\\n }\\n\\n // ************************************* //\\n // * Fallback * //\\n // ************************************* //\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable {\\n _delegate(_getImplementation());\\n }\\n\\n receive() external payable {\\n _delegate(_getImplementation());\\n }\\n}\\n\",\"keccak256\":\"0xb42b4da7d7d4de880da62538361fe7ca2aca28577880e53bafa8d07eb9a08c48\",\"license\":\"MIT\"}},\"version\":1}", |
1018 | 975 | "bytecode": "0x608060405234801561001057600080fd5b506040516102fe3803806102fe83398101604081905261002f9161014d565b817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55805160001461010c576000826001600160a01b031682604051610075919061021b565b600060405180830381855af49150503d80600081146100b0576040519150601f19603f3d011682016040523d82523d6000602084013e6100b5565b606091505b505090508061010a5760405162461bcd60e51b815260206004820152601860248201527f50726f787920436f6e7374727563746f72206661696c65640000000000000000604482015260640160405180910390fd5b505b5050610237565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561014457818101518382015260200161012c565b50506000910152565b6000806040838503121561016057600080fd5b82516001600160a01b038116811461017757600080fd5b60208401519092506001600160401b038082111561019457600080fd5b818501915085601f8301126101a857600080fd5b8151818111156101ba576101ba610113565b604051601f8201601f19908116603f011681019083821181831017156101e2576101e2610113565b816040528281528860208487010111156101fb57600080fd5b61020c836020830160208801610129565b80955050505050509250929050565b6000825161022d818460208701610129565b9190910192915050565b60b9806102456000396000f3fe608060405236603757603560317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6060565b005b603560317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015607e573d6000f35b3d6000fdfea26469706673582212207d50a904496089f6052d7370a78231ed4755a18daf824e0c243ac9c9c2a3b9ae64736f6c63430008120033", |
1019 | 976 | "deployedBytecode": "0x608060405236603757603560317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6060565b005b603560317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015607e573d6000f35b3d6000fdfea26469706673582212207d50a904496089f6052d7370a78231ed4755a18daf824e0c243ac9c9c2a3b9ae64736f6c63430008120033", |
|
1024 | 981 | "0x0000000000000000000000000000000000000000" |
1025 | 982 | ] |
1026 | 983 | }, |
1027 | | - "implementation": "0x2757458b91faaB4240A6eAE72185C8185683a642", |
| 984 | + "implementation": "0x5a41ebCD0b78eD6C42E0AD23A7b7a8001c45bEC9", |
1028 | 985 | "devdoc": { |
1029 | 986 | "author": "Simon Malatrait <[email protected]>", |
1030 | 987 | "details": "This contract implements a UUPS Proxy compliant with ERC-1967 & ERC-1822.This contract delegates all calls to another contract (UUPS Proxiable) through a fallback function and the use of the `delegatecall` EVM instruction.We refer to the Proxiable contract (as per ERC-1822) with `implementation`.", |
|
0 commit comments