Skip to content

Commit

Permalink
Referral Rewards (#274)
Browse files Browse the repository at this point in the history
Co-authored-by: Quazia <alf40k@gmail.com>
  • Loading branch information
jonathandiep and Quazia authored Apr 29, 2024
1 parent 1cd4127 commit d0e7c24
Show file tree
Hide file tree
Showing 45 changed files with 2,421 additions and 1,096 deletions.
2 changes: 1 addition & 1 deletion Quest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Quest1155.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion QuestFactory.json

Large diffs are not rendered by default.

63 changes: 31 additions & 32 deletions broadcast/Quest.s.sol/10/run-latest.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/11155111/run-1712688251.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/11155111/run-1712688883.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/11155111/run-1713296918.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/11155111/run-1713385681.json

Large diffs are not rendered by default.

71 changes: 35 additions & 36 deletions broadcast/Quest.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

101 changes: 50 additions & 51 deletions broadcast/Quest.s.sol/137/run-latest.json

Large diffs are not rendered by default.

63 changes: 31 additions & 32 deletions broadcast/Quest.s.sol/42161/run-latest.json

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions broadcast/Quest.s.sol/7777777/run-1713394072.json

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions broadcast/Quest.s.sol/7777777/run-1713394202.json

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions broadcast/Quest.s.sol/7777777/run-1713469095.json

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions broadcast/Quest.s.sol/7777777/run-latest.json

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions broadcast/Quest.s.sol/81457/run-latest.json

Large diffs are not rendered by default.

63 changes: 31 additions & 32 deletions broadcast/Quest.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1713387716.json

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1713388309.json

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1713388802.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"transactions": [
{
"hash": "0x1ec7414eb9f6f4e6e10ed682a24944a4bbcac89a9903664acae7a831d3fc66dd",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11e1d",
"value": "0x0",
"data": "0x23e2c1ba0000000000000000000000000000000000000000000000000000000066203cf3",
"nonce": "0x11b",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x1ec7414eb9f6f4e6e10ed682a24944a4bbcac89a9903664acae7a831d3fc66dd",
"transactionIndex": "0x1",
"blockHash": "0xbfbabe2741d3db93c881ec406a66e76287797b702856e29182911c2ee3fbecbc",
"blockNumber": "0x71631a2",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x17a70",
"gasUsed": "0xcf25",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb664020d"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713388802,
"chain": 10,
"commit": "da7e09c"
}
112 changes: 23 additions & 89 deletions broadcast/QuestFactory.s.sol/10/run-latest.json

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1712685023.json

Large diffs are not rendered by default.

75 changes: 37 additions & 38 deletions broadcast/QuestFactory.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1713386248.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"transactions": [
{
"hash": "0xcb68862e7843bf59313e0f542744ef7c013dfa952edde48401b59ff4da457643",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11e1d",
"value": "0x0",
"data": "0x23e2c1ba00000000000000000000000000000000000000000000000000000000662032f9",
"nonce": "0xd6",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0xcb68862e7843bf59313e0f542744ef7c013dfa952edde48401b59ff4da457643",
"transactionIndex": "0x3f",
"blockHash": "0x4cd0e71f55fca03b036212b5a306c6336901156fe4818e1123f838cb1b69aa30",
"blockNumber": "0x35597dc",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x158305c",
"gasUsed": "0xcf25",
"contractAddress": null,
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"0x00000000000000000000000067b94473d81d0cd00849d563c94d0432ac988b49"
],
"data": "0x0000000000000000000000000000000000000000000000000005a6e3493bdc000000000000000000000000000000000000000000000000121f4036f3d26b244100000000000000000000000000000000000000000000203a7521b2d3adda84120000000000000000000000000000000000000000000000121f3a9010892f484100000000000000000000000000000000000000000000203a752759b6f7166012",
"blockHash": "0x4cd0e71f55fca03b036212b5a306c6336901156fe4818e1123f838cb1b69aa30",
"blockNumber": "0x35597dc",
"transactionHash": "0xcb68862e7843bf59313e0f542744ef7c013dfa952edde48401b59ff4da457643",
"transactionIndex": "0x3f",
"logIndex": "0x38b",
"removed": false
}
],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000400000000800000000000000000000100000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000004000800000000000000001000000008000000100000000000000100000000000000000020000000000000000000000000000000000000000000000000000100000",
"type": "0x2",
"effectiveGasPrice": "0x166488ec60"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713386248,
"chain": 137,
"commit": "7500d39"
}
65 changes: 65 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1713389789.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"transactions": [
{
"hash": "0x4f4f044acf5435bd47d8c72a6db9f88fcda87d2d31c1e3b33d89d16e14bcb36e",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0xcd42",
"value": "0x0",
"data": "0x23e2c1ba00000000000000000000000000000000000000000000000000000000662040c2",
"nonce": "0xd7",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x4f4f044acf5435bd47d8c72a6db9f88fcda87d2d31c1e3b33d89d16e14bcb36e",
"transactionIndex": "0xad",
"blockHash": "0xd19b6078740573b36e638e2188577e862adba845c16fd6f9e9c14f45228179f8",
"blockNumber": "0x3559e21",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x1ac99b9",
"gasUsed": "0x8c59",
"contractAddress": null,
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000017f8ad14a2e745ea0f756bd57cd4852400be78c",
"0x00000000000000000000000067b94473d81d0cd00849d563c94d0432ac988b49"
],
"data": "0x0000000000000000000000000000000000000000000000000003ec7e5fab913a0000000000000000000000000000000000000000000000121f2e186c937f5a6100000000000000000000000000000000000000000000204da25c9b706a92f7ec0000000000000000000000000000000000000000000000121f2a2bee33d3c92700000000000000000000000000000000000000000000204da26087eeca3e8926",
"blockHash": "0xd19b6078740573b36e638e2188577e862adba845c16fd6f9e9c14f45228179f8",
"blockNumber": "0x3559e21",
"transactionHash": "0x4f4f044acf5435bd47d8c72a6db9f88fcda87d2d31c1e3b33d89d16e14bcb36e",
"transactionIndex": "0xad",
"logIndex": "0x5a5",
"removed": false
}
],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000400000000800000000000000000000100000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000004000800000000000000001000000008000000100000000000000100000000000000000020000000000000000000000000000000000000000000000000000100000",
"type": "0x2",
"effectiveGasPrice": "0x11fcb8bb91"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713389789,
"chain": 137,
"commit": "da7e09c"
}
135 changes: 26 additions & 109 deletions broadcast/QuestFactory.s.sol/137/run-latest.json

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions broadcast/QuestFactory.s.sol/42161/run-1713390022.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"transactions": [
{
"hash": "0xe4a3e7bd559983b9c4bfd995b29c6721f1f74d114ecc2a3def51b73ece86e1f4",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x1d7ec",
"value": "0x0",
"data": "0x23e2c1ba00000000000000000000000000000000000000000000000000000000662041b8",
"nonce": "0xc2",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0xe4a3e7bd559983b9c4bfd995b29c6721f1f74d114ecc2a3def51b73ece86e1f4",
"transactionIndex": "0x2",
"blockHash": "0x5db737955e45d87c5fef162be916a2551170dbabc021680a723c20d8d67bf432",
"blockNumber": "0xc0b9014",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x5283d",
"gasUsed": "0x146b3",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0x989680"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713390022,
"chain": 42161,
"commit": "da7e09c"
}
106 changes: 19 additions & 87 deletions broadcast/QuestFactory.s.sol/42161/run-latest.json

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions broadcast/QuestFactory.s.sol/7777777/run-1713393791.json

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions broadcast/QuestFactory.s.sol/7777777/run-1713394348.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"transactions": [
{
"hash": "0x32c12d9f64522b586a396d9064b170e60926e0e44351105045b67be341876366",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": "setReferralRewardTimestamp(uint256)",
"arguments": [
"1713394337"
],
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11e1d",
"value": "0x0",
"data": "0x23e2c1ba00000000000000000000000000000000000000000000000000000000662052a1",
"nonce": "0x15",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x32c12d9f64522b586a396d9064b170e60926e0e44351105045b67be341876366",
"transactionIndex": "0x1",
"blockHash": "0x3726d3f6f746adf25b5ad82d335dbb506233c1400f2b9a9caabd2580f74d91c6",
"blockNumber": "0xcbb56d",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x17a70",
"gasUsed": "0xcf25",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb2d05f07"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713394348,
"chain": 7777777,
"commit": "da7e09c"
}
379 changes: 18 additions & 361 deletions broadcast/QuestFactory.s.sol/7777777/run-latest.json

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions broadcast/QuestFactory.s.sol/81457/run-1713387160.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"transactions": [
{
"hash": "0xe4735b3f201321e508f0b72e15b778a01b01b0590ec70ee7009a9e8bf43ec7d5",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11e1d",
"value": "0x0",
"data": "0x23e2c1ba0000000000000000000000000000000000000000000000000000000066203669",
"nonce": "0x18",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0xe4735b3f201321e508f0b72e15b778a01b01b0590ec70ee7009a9e8bf43ec7d5",
"transactionIndex": "0x1",
"blockHash": "0xe63b00d6f483f337a28db2641d5e7e75239147f644bc8f7bfe54b5e3868f07df",
"blockNumber": "0x22ec1e",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x18686",
"gasUsed": "0xcf25",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb2d05f0f"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713387160,
"chain": 81457,
"commit": "da7e09c"
}
106 changes: 19 additions & 87 deletions broadcast/QuestFactory.s.sol/81457/run-latest.json

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions broadcast/QuestFactory.s.sol/8453/run-1713297227.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"transactions": [
{
"hash": "0x143b7e8d8a0b87414d7841ec65db78d1661173f59e4ab76dc6eadf0d11d56640",
"transactionType": "CALL",
"contractName": "TransparentUpgradeableProxy",
"contractAddress": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"function": null,
"arguments": null,
"transaction": {
"type": "0x02",
"from": "0x017f8ad14a2e745ea0f756bd57cd4852400be78c",
"to": "0x52629961f71c1c2564c5aa22372cb1b9fa9eba3e",
"gas": "0x11e1d",
"value": "0x0",
"data": "0x23e2c1ba00000000000000000000000000000000000000000000000000000000661ed73f",
"nonce": "0xa1",
"accessList": []
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"transactionHash": "0x143b7e8d8a0b87414d7841ec65db78d1661173f59e4ab76dc6eadf0d11d56640",
"transactionIndex": "0x1",
"blockHash": "0x54be25bb033298c279960d8e2c5db9018aef6ba5f27ec89c02a6cf59649978c7",
"blockNumber": "0xca3d32",
"from": "0x017F8Ad14A2E745ea0F756Bd57CD4852400be78c",
"to": "0x52629961F71C1C2564C5aa22372CB1b9fa9EBA3E",
"cumulativeGasUsed": "0x17a70",
"gasUsed": "0xcf25",
"contractAddress": null,
"logs": [],
"status": "0x1",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"effectiveGasPrice": "0xb5550df5"
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1713297227,
"chain": 8453,
"commit": "7500d39"
}
Loading

0 comments on commit d0e7c24

Please sign in to comment.