-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18,114 changed files
with
2,698,469 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/47ed57dac9dc9ec9a19333b984a9895c.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "Counter", | ||
"sourceName": "contracts/Counter.sol", | ||
"abi": [ | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "when", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "CountDecreased", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "when", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "CountIncreased", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "count", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "decreaseByOne", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "increaseByOne", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x608060405234801561001057600080fd5b50610315806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd1461004657806393158b0e14610064578063974ba1e21461006e575b600080fd5b61004e610078565b60405161005b9190610187565b60405180910390f35b61006c61007e565b005b610076610118565b005b60005481565b60008054116100c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b9906101ff565b60405180910390fd5b60016000808282546100d4919061024e565b925050819055507f9f823ef4ff6c0c3cc6b78e145c4a8f0eb7d3e580edcbcac1f96a5a2b2de7b8136000544260405161010e929190610282565b60405180910390a1565b600160008082825461012a91906102ab565b925050819055507f4d83071bd939c85dc5ac3b242dd30a607f340a2b0671e8d3e3a3878b5f05e63360005442604051610164929190610282565b60405180910390a1565b6000819050919050565b6101818161016e565b82525050565b600060208201905061019c6000830184610178565b92915050565b600082825260208201905092915050565b7f63616e6e6f742064656372656173652062656c6f772030000000000000000000600082015250565b60006101e96017836101a2565b91506101f4826101b3565b602082019050919050565b60006020820190508181036000830152610218816101dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006102598261016e565b91506102648361016e565b925082820390508181111561027c5761027b61021f565b5b92915050565b60006040820190506102976000830185610178565b6102a46020830184610178565b9392505050565b60006102b68261016e565b91506102c18361016e565b92508282019050808211156102d9576102d861021f565b5b9291505056fea264697066735822122057e57bbc1bd1b3d5e9f56300ed1826cf9834ec7d793a114a9ebad7564559d8bc64736f6c63430008180033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd1461004657806393158b0e14610064578063974ba1e21461006e575b600080fd5b61004e610078565b60405161005b9190610187565b60405180910390f35b61006c61007e565b005b610076610118565b005b60005481565b60008054116100c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b9906101ff565b60405180910390fd5b60016000808282546100d4919061024e565b925050819055507f9f823ef4ff6c0c3cc6b78e145c4a8f0eb7d3e580edcbcac1f96a5a2b2de7b8136000544260405161010e929190610282565b60405180910390a1565b600160008082825461012a91906102ab565b925050819055507f4d83071bd939c85dc5ac3b242dd30a607f340a2b0671e8d3e3a3878b5f05e63360005442604051610164929190610282565b60405180910390a1565b6000819050919050565b6101818161016e565b82525050565b600060208201905061019c6000830184610178565b92915050565b600082825260208201905092915050565b7f63616e6e6f742064656372656173652062656c6f772030000000000000000000600082015250565b60006101e96017836101a2565b91506101f4826101b3565b602082019050919050565b60006020820190508181036000830152610218816101dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006102598261016e565b91506102648361016e565b925082820390508181111561027c5761027b61021f565b5b92915050565b60006040820190506102976000830185610178565b6102a46020830184610178565b9392505050565b60006102b68261016e565b91506102c18361016e565b92508282019050808211156102d9576102d861021f565b5b9291505056fea264697066735822122057e57bbc1bd1b3d5e9f56300ed1826cf9834ec7d793a114a9ebad7564559d8bc64736f6c63430008180033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
4 changes: 4 additions & 0 deletions
4
artifacts/contracts/IStudentRegistry.sol/IStudentRegistry.dbg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/f003c3149ef52b86530977e37e501bba.json" | ||
} |
175 changes: 175 additions & 0 deletions
175
artifacts/contracts/IStudentRegistry.sol/IStudentRegistry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "IStudentRegistry", | ||
"sourceName": "contracts/IStudentRegistry.sol", | ||
"abi": [ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_studentAddr", | ||
"type": "address" | ||
} | ||
], | ||
"name": "addStudent", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_studentAddr", | ||
"type": "address" | ||
} | ||
], | ||
"name": "authorizeStudentRegistration", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_studentAddr", | ||
"type": "address" | ||
} | ||
], | ||
"name": "deleteStudent", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint8", | ||
"name": "_studentID", | ||
"type": "uint8" | ||
} | ||
], | ||
"name": "getStudent", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "address", | ||
"name": "studentAddr", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "studentId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "age", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "hasPaid", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "isAuthorized", | ||
"type": "bool" | ||
} | ||
], | ||
"internalType": "struct Student", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_studentAddr", | ||
"type": "address" | ||
} | ||
], | ||
"name": "getStudentFromMapping", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "address", | ||
"name": "studentAddr", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "studentId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "age", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "hasPaid", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "isAuthorized", | ||
"type": "bool" | ||
} | ||
], | ||
"internalType": "struct Student", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_studentAddr", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "_name", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "_age", | ||
"type": "uint8" | ||
} | ||
], | ||
"name": "register", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x", | ||
"deployedBytecode": "0x", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/a44a81792e27d9954349262518bc86cb.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "Ownable", | ||
"sourceName": "contracts/Ownable.sol", | ||
"abi": [ | ||
{ | ||
"inputs": [], | ||
"stateMutability": "payable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "oldOwner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "ChangeOwner", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address payable", | ||
"name": "_newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "changeOwner", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getOwner", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [ | ||
{ | ||
"internalType": "address payable", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x6080604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506104ba806100536000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063893d20e8146100465780638da5cb5b14610064578063a6f9dae114610082575b600080fd5b61004e61009e565b60405161005b91906102e6565b60405180910390f35b61006c6100c7565b6040516100799190610322565b60405180910390f35b61009c6004803603810190610097919061036e565b6100eb565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610170906103f8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101df90610464565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f9aecf86140d81442289f667eb72e1202a8fbb3478a686659952e145e8531965660405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102d0826102a5565b9050919050565b6102e0816102c5565b82525050565b60006020820190506102fb60008301846102d7565b92915050565b600061030c826102a5565b9050919050565b61031c81610301565b82525050565b60006020820190506103376000830184610313565b92915050565b600080fd5b61034b81610301565b811461035657600080fd5b50565b60008135905061036881610342565b92915050565b6000602082840312156103845761038361033d565b5b600061039284828501610359565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206e6f74206f776e657200000000000000000000000000000000600082015250565b60006103e260108361039b565b91506103ed826103ac565b602082019050919050565b60006020820190508181036000830152610411816103d5565b9050919050565b7f4f776e65722063616e6e6f742062652061646472657373207a65726f00000000600082015250565b600061044e601c8361039b565b915061045982610418565b602082019050919050565b6000602082019050818103600083015261047d81610441565b905091905056fea2646970667358221220f4359708a1cc7c728ccc514da4ce31883a1b1bfe38f489cb5c9e318bb8374a7164736f6c63430008180033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063893d20e8146100465780638da5cb5b14610064578063a6f9dae114610082575b600080fd5b61004e61009e565b60405161005b91906102e6565b60405180910390f35b61006c6100c7565b6040516100799190610322565b60405180910390f35b61009c6004803603810190610097919061036e565b6100eb565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610170906103f8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101df90610464565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f9aecf86140d81442289f667eb72e1202a8fbb3478a686659952e145e8531965660405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102d0826102a5565b9050919050565b6102e0816102c5565b82525050565b60006020820190506102fb60008301846102d7565b92915050565b600061030c826102a5565b9050919050565b61031c81610301565b82525050565b60006020820190506103376000830184610313565b92915050565b600080fd5b61034b81610301565b811461035657600080fd5b50565b60008135905061036881610342565b92915050565b6000602082840312156103845761038361033d565b5b600061039284828501610359565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206e6f74206f776e657200000000000000000000000000000000600082015250565b60006103e260108361039b565b91506103ed826103ac565b602082019050919050565b60006020820190508181036000830152610411816103d5565b9050919050565b7f4f776e65722063616e6e6f742062652061646472657373207a65726f00000000600082015250565b600061044e601c8361039b565b915061045982610418565b602082019050919050565b6000602082019050818103600083015261047d81610441565b905091905056fea2646970667358221220f4359708a1cc7c728ccc514da4ce31883a1b1bfe38f489cb5c9e318bb8374a7164736f6c63430008180033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
4 changes: 4 additions & 0 deletions
4
artifacts/contracts/StudentCounter.sol/StudentCounter.dbg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/8154f307316a6ade44c350b4ae67661f.json" | ||
} |
10 changes: 10 additions & 0 deletions
10
artifacts/contracts/StudentCounter.sol/StudentCounter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "StudentCounter", | ||
"sourceName": "contracts/StudentCounter.sol", | ||
"abi": [], | ||
"bytecode": "0x608060405260008060006101000a81548163ffffffff021916908363ffffffff160217905550348015603057600080fd5b50603f80603e6000396000f3fe6080604052600080fdfea2646970667358221220f30718956ac3167335e20c34504bf060a5909fa51b0e02768ad11418b5ce032564736f6c63430008180033", | ||
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220f30718956ac3167335e20c34504bf060a5909fa51b0e02768ad11418b5ce032564736f6c63430008180033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
4 changes: 4 additions & 0 deletions
4
artifacts/contracts/StudentRegistry.sol/StudentRegistry.dbg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/a44a81792e27d9954349262518bc86cb.json" | ||
} |
Oops, something went wrong.