Skip to content

Commit

Permalink
Merge pull request #339 from VenusProtocol/feat/reward-distributor-se…
Browse files Browse the repository at this point in the history
…polia

[VEN-2216]: Reward distributor for core pool on sepolia
  • Loading branch information
GitGuru7 authored Dec 28, 2023
2 parents fab3d04 + 4095248 commit c97758d
Show file tree
Hide file tree
Showing 11 changed files with 389 additions and 389 deletions.
16 changes: 8 additions & 8 deletions deployments/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -9378,7 +9378,7 @@
]
},
"RewardsDistributor_Core_0": {
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -10510,7 +10510,7 @@
]
},
"RewardsDistributor_Core_0_Proxy": {
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -10659,7 +10659,7 @@
]
},
"RewardsDistributor_Core_1": {
"address": "0xAbBAe88E3E62D6Ffb23D084bDFD2A1Dc45e15879",
"address": "0x3cE1A4C37C6F5106F3a04B93515Ce53F26C8DAC2",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -11791,7 +11791,7 @@
]
},
"RewardsDistributor_Core_1_Proxy": {
"address": "0xAbBAe88E3E62D6Ffb23D084bDFD2A1Dc45e15879",
"address": "0x3cE1A4C37C6F5106F3a04B93515Ce53F26C8DAC2",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -11940,7 +11940,7 @@
]
},
"RewardsDistributor_Core_2": {
"address": "0x6B3f9BBbBC8595f9c3C8e0082E95C45F98239E1b",
"address": "0xf06f1A32C3b5504E7a932d736F2d10612abC55d3",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -13072,7 +13072,7 @@
]
},
"RewardsDistributor_Core_2_Proxy": {
"address": "0x6B3f9BBbBC8595f9c3C8e0082E95C45F98239E1b",
"address": "0xf06f1A32C3b5504E7a932d736F2d10612abC55d3",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -13221,7 +13221,7 @@
]
},
"RewardsDistributor_Core_3": {
"address": "0x5e128F6B554589D3B1E91D53Aee161A70F439062",
"address": "0xa822b4aadc53A7641ce84c690C3109fD336440Aa",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -14353,7 +14353,7 @@
]
},
"RewardsDistributor_Core_3_Proxy": {
"address": "0x5e128F6B554589D3B1E91D53Aee161A70F439062",
"address": "0xa822b4aadc53A7641ce84c690C3109fD336440Aa",
"abi": [
{
"inputs": [
Expand Down
94 changes: 47 additions & 47 deletions deployments/sepolia/RewardsDistributor_Core_0.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -1129,94 +1129,94 @@
"type": "constructor"
}
],
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"receipt": {
"to": null,
"from": "0x03862dFa5D0be8F64509C001cb8C6188194469DF",
"contractAddress": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 87,
"contractAddress": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"transactionIndex": 50,
"gasUsed": "866107",
"logsBloom": "0x00000000000000000000000000400000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000010000002000001000000000000000000000000000000000000020000000000000000100800000000800000000000000000000000400000000000000000000000000000000000000000000080100000000000800000000000001000000000002000100400000000000000800000000000000000000000000020000000000000000201040000000000000400000000400000000020000000080200000000000000000000000000000800000000000000000000000000",
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e",
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000002000001000000000000000000000000000000000000020000000000000004100800000000800000000000000000040000400000000000000000000000000000000000000000000080100000000000800000000000001000000000002000000400000000000000800000000000000000000000000020000000000000000201040000000400000400000000400000000020000000080200000000000000000000000000000800000000000000000000000000",
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055",
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"logs": [
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x000000000000000000000000aa0472719984e799ac11d01c16d3c6b0f8d5c39b"
],
"data": "0x",
"logIndex": 62,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 137,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x00000000000000000000000003862dfa5d0be8f64509c001cb8c6188194469df"
],
"data": "0x",
"logIndex": 63,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 138,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96",
"logIndex": 64,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 139,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0xc2d09fef144f7c8a86f71ea459f8fc17f675768eb1ae369cbd77fb31d467aafa"],
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064",
"logIndex": 65,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 140,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 66,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 141,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001435866babd91311b1355cf3af488cca36db68e",
"logIndex": 67,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 142,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
}
],
"blockNumber": 4832954,
"cumulativeGasUsed": "8252863",
"blockNumber": 4965149,
"cumulativeGasUsed": "9429991",
"status": 1,
"byzantium": true
},
"args": [
"0xaA0472719984e799aC11D01C16D3c6B0F8d5C39B",
"0x01435866babd91311b1355cf3af488cca36db68e",
"0xbe2030940000000000000000000000007aa39ab4bca897f403425c9c6fdbd0f882be0d70000000000000000000000000db633c11d3f9e6b8d17ac2c972c9e3b05da59bf90000000000000000000000000000000000000000000000000000000000000064000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96"
"0xbe2030940000000000000000000000007aa39ab4bca897f403425c9c6fdbd0f882be0d7000000000000000000000000066ebd019e86e0af5f228a0439ebb33f045cbe63e0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96"
],
"numDeployments": 1,
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
Expand All @@ -1227,7 +1227,7 @@
"methodName": "initialize",
"args": [
"0x7Aa39ab4BcA897F403425C9C6FDbd0f882Be0D70",
"0xdb633c11d3f9e6b8d17ac2c972c9e3b05da59bf9",
"0x66ebd019E86e0af5f228a0439EBB33f045CBe63E",
100,
"0xbf705C00578d43B6147ab4eaE04DBBEd1ccCdc96"
]
Expand Down
92 changes: 46 additions & 46 deletions deployments/sepolia/RewardsDistributor_Core_0_Proxy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -146,94 +146,94 @@
"type": "receive"
}
],
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"receipt": {
"to": null,
"from": "0x03862dFa5D0be8F64509C001cb8C6188194469DF",
"contractAddress": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 87,
"contractAddress": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"transactionIndex": 50,
"gasUsed": "866107",
"logsBloom": "0x00000000000000000000000000400000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000010000002000001000000000000000000000000000000000000020000000000000000100800000000800000000000000000000000400000000000000000000000000000000000000000000080100000000000800000000000001000000000002000100400000000000000800000000000000000000000000020000000000000000201040000000000000400000000400000000020000000080200000000000000000000000000000800000000000000000000000000",
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e",
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000002000001000000000000000000000000000000000000020000000000000004100800000000800000000000000000040000400000000000000000000000000000000000000000000080100000000000800000000000001000000000002000000400000000000000800000000000000000000000000020000000000000000201040000000400000400000000400000000020000000080200000000000000000000000000000800000000000000000000000000",
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055",
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"logs": [
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x000000000000000000000000aa0472719984e799ac11d01c16d3c6b0f8d5c39b"
],
"data": "0x",
"logIndex": 62,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 137,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x00000000000000000000000003862dfa5d0be8f64509c001cb8c6188194469df"
],
"data": "0x",
"logIndex": 63,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 138,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96",
"logIndex": 64,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 139,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0xc2d09fef144f7c8a86f71ea459f8fc17f675768eb1ae369cbd77fb31d467aafa"],
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064",
"logIndex": 65,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 140,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 66,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 141,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
},
{
"transactionIndex": 87,
"blockNumber": 4832954,
"transactionHash": "0x6a807f9b6c15a665cc1ffca8690c13d29786da2c8dd80a95ea55ce89b4e3335f",
"address": "0xEA3bb4A1C6218E31e435F3c23E0E9a05A40B7F40",
"transactionIndex": 50,
"blockNumber": 4965149,
"transactionHash": "0x521f6ae020042967eafdd0eac497e8dcfd78327139d626cf1c97d31ac76ae251",
"address": "0x78d1D10F4772982B82497cA010aBFF0601B66c4a",
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001435866babd91311b1355cf3af488cca36db68e",
"logIndex": 67,
"blockHash": "0x059580281ec3f1517abe5d0ea47dff6cb118442782a63cfacdca1635405d1a9e"
"logIndex": 142,
"blockHash": "0x2d4c18848dd7155563569a689f2c0272c09fccbc3067b908056c54a691e8a055"
}
],
"blockNumber": 4832954,
"cumulativeGasUsed": "8252863",
"blockNumber": 4965149,
"cumulativeGasUsed": "9429991",
"status": 1,
"byzantium": true
},
"args": [
"0xaA0472719984e799aC11D01C16D3c6B0F8d5C39B",
"0x01435866babd91311b1355cf3af488cca36db68e",
"0xbe2030940000000000000000000000007aa39ab4bca897f403425c9c6fdbd0f882be0d70000000000000000000000000db633c11d3f9e6b8d17ac2c972c9e3b05da59bf90000000000000000000000000000000000000000000000000000000000000064000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96"
"0xbe2030940000000000000000000000007aa39ab4bca897f403425c9c6fdbd0f882be0d7000000000000000000000000066ebd019e86e0af5f228a0439ebb33f045cbe63e0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000bf705c00578d43b6147ab4eae04dbbed1cccdc96"
],
"numDeployments": 1,
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
Expand Down
Loading

0 comments on commit c97758d

Please sign in to comment.