Skip to content

Commit

Permalink
compile new contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
mh739025250 committed Oct 25, 2022
1 parent a44b5bc commit 3c8ef27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions compile/DataHub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"DataHub","source":"DataHub.sol","abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor","signature":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"commitment","type":"bytes32"}],"name":"DataRegistered","type":"event","signature":"0x899c82682eb02afd7f44906ce7eddd003121b410590fb47b9bcac6adb201f8da"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerSet","type":"event","signature":"0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getDataCommitment","outputs":[{"internalType":"bytes32","name":"commitment","type":"bytes32"}],"stateMutability":"view","type":"function","constant":true,"signature":"0x99a64eb1"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bytes32","name":"commitment","type":"bytes32"}],"name":"register","outputs":[],"stateMutability":"nonpayable","type":"function","signature":"0xa8fc100a"}],"byteCode":"608060405234801561001057600080fd5b50600080546001600160a01b0319163390811782556040519091907f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735908290a36104388061005f6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806399a64eb11461003b578063a8fc100a14610060575b600080fd5b61004e6100493660046102ba565b610075565b60405190815260200160405180910390f35b61007361006e366004610322565b610121565b005b6001600160a01b038416600090815260016020526040808220905186918691869186916100a59085908590610373565b9081526040519081900360200190205481106100c057600080fd5b6001600160a01b0389166000908152600160205260409081902090516100e9908a908a90610373565b90815260200160405180910390208681548110610108576101086103ec565b9060005260206000200154945050505050949350505050565b336000908152600160205260409081902090516101419086908690610373565b9081526040519081900360200190205482106101dd573360009081526001602052604080822090516101769087908790610373565b9081526040519081900360200190205490505b8281116101db57336000908152600160205260409081902090516101b09087908790610373565b90815260405190819003602001902080546001018155600052806101d3816103c3565b915050610189565b505b336000908152600160205260409081902090518291906102009087908790610373565b9081526020016040518091039020838154811061021f5761021f6103ec565b60009182526020909120015560405133907f899c82682eb02afd7f44906ce7eddd003121b410590fb47b9bcac6adb201f8da90610263908790879087908790610383565b60405180910390a250505050565b60008083601f84011261028357600080fd5b50813567ffffffffffffffff81111561029b57600080fd5b6020830191508360208285010111156102b357600080fd5b9250929050565b600080600080606085870312156102d057600080fd5b84356001600160a01b03811681146102e757600080fd5b9350602085013567ffffffffffffffff81111561030357600080fd5b61030f87828801610271565b9598909750949560400135949350505050565b6000806000806060858703121561033857600080fd5b843567ffffffffffffffff81111561034f57600080fd5b61035b87828801610271565b90989097506020870135966040013595509350505050565b8183823760009101908152919050565b606081528360608201528385608083013760006080858301015260006080601f19601f870116830101905083602083015282604083015295945050505050565b60006000198214156103e557634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220bf3d92e8040fc91aeed2156f40e6dcd15672e143bdfe6c5e41752c3061e8cedd64736f6c63430008060033","txHash":"0xc12f6212058cb4d3a293535e55f95b1056350c040bdf4799c3ba3759ce67d90e","receipt":{"blockHash":"0x0e9d15646d8ccc2fc9901d3ddda66c554d81c6e9754c44306a2a5c5c88791d11","blockNumber":894196,"contractAddress":"0x4DE07d68CA8523908aBC3903B63674C7f89b7364","cumulativeGasUsed":309717,"from":"0x6578adabe867c4f7b2ce4c59abeabdc754fbb990","gasUsed":309717,"logs":[{"address":"0x4DE07d68CA8523908aBC3903B63674C7f89b7364","blockHash":"0x0e9d15646d8ccc2fc9901d3ddda66c554d81c6e9754c44306a2a5c5c88791d11","blockNumber":894196,"data":"0x","logIndex":0,"removed":false,"topics":["0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000006578adabe867c4f7b2ce4c59abeabdc754fbb990"],"transactionHash":"0xc12f6212058cb4d3a293535e55f95b1056350c040bdf4799c3ba3759ce67d90e","transactionIndex":0,"transactionLogIndex":"0x0","id":"log_566d36d7"}],"logsBloom":"0x00000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000020000000000000000000800000000000000000000000400000000000000000000000000000400000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000010000000000000000000000000000020000000000000000000000200000000000000000000000000000000000000000000","status":true,"to":null,"transactionHash":"0xc12f6212058cb4d3a293535e55f95b1056350c040bdf4799c3ba3759ce67d90e","transactionIndex":0},"address":"0x4DE07d68CA8523908aBC3903B63674C7f89b7364"}
1 change: 1 addition & 0 deletions compile/HLR.json

Large diffs are not rendered by default.

Loading

0 comments on commit 3c8ef27

Please sign in to comment.