Skip to content

Commit

Permalink
new porcini contracts (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick95550 authored Aug 6, 2024
1 parent b8b19ba commit 590cc3e
Show file tree
Hide file tree
Showing 31 changed files with 932 additions and 723 deletions.
2 changes: 1 addition & 1 deletion deployments/genesis.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const PorciniDevParameters: ContractParameters = {

EpochsManager: {
initialEpoch: 0,
epochDuration: 720, // 1 hour
epochDuration: 360, // 4 minutes
},

Registries: {
Expand Down
143 changes: 121 additions & 22 deletions deployments/porcini-dev/AuthorizedAccounts.json

Large diffs are not rendered by default.

172 changes: 141 additions & 31 deletions deployments/porcini-dev/AuthorizedAccounts_Implementation.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions deployments/porcini-dev/AuthorizedAccounts_Proxy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xE7F8303C769FA19752861B49C32A21494690C307",
"address": "0xA42D7d6eC4508De5Dd87aC5F726e7b2CD233B40c",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -146,51 +146,51 @@
"type": "receive"
}
],
"transactionHash": "0x7e15dcf9a8ae87b92a8999cbbeb13701170a16f1a8f1032ad78fa8650a60f28d",
"transactionHash": "0x3b792654d5e96b026ceef73ae75156f47a971fb90f31abee69268f26ecfe3d80",
"receipt": {
"to": null,
"from": "0x448c8e9e1816300Dd052e77D2A44c990A2807D15",
"contractAddress": "0xE7F8303C769FA19752861B49C32A21494690C307",
"contractAddress": "0xA42D7d6eC4508De5Dd87aC5F726e7b2CD233B40c",
"transactionIndex": 0,
"gasUsed": "720430",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000002000004000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000810000000000000000000000000000000000000000000000000000080000000000001000000020000000000000800000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x21cd3247ff16b679549d5a005b81cdd26230cc2692d8d2951dc7b3cdf3ddb8b2",
"transactionHash": "0x7e15dcf9a8ae87b92a8999cbbeb13701170a16f1a8f1032ad78fa8650a60f28d",
"gasUsed": "720722",
"logsBloom": "0x00000004000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000400000000000000800000000000000000000000000000000200000000000000000000000000000000000000000000000000800000000000000000000000000000000000000400000000000000000000000000000000000020000000000000000000000000000000000400000020000000000000000000000000000000000000000000000000000000000000000000000000000010",
"blockHash": "0x188956df9633730fe5210c0cfc18230bf26d30c9c80572066075a356dce0313f",
"transactionHash": "0x3b792654d5e96b026ceef73ae75156f47a971fb90f31abee69268f26ecfe3d80",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 11467274,
"transactionHash": "0x7e15dcf9a8ae87b92a8999cbbeb13701170a16f1a8f1032ad78fa8650a60f28d",
"address": "0xE7F8303C769FA19752861B49C32A21494690C307",
"blockNumber": 14503487,
"transactionHash": "0x3b792654d5e96b026ceef73ae75156f47a971fb90f31abee69268f26ecfe3d80",
"address": "0xA42D7d6eC4508De5Dd87aC5F726e7b2CD233B40c",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x000000000000000000000000e15e18151d0677e719c6d8f0ae7c95c18e8dffd6"
"0x0000000000000000000000006da9af38b3db84278f67f645f77312cec7220ea4"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x21cd3247ff16b679549d5a005b81cdd26230cc2692d8d2951dc7b3cdf3ddb8b2"
"blockHash": "0x188956df9633730fe5210c0cfc18230bf26d30c9c80572066075a356dce0313f"
},
{
"transactionIndex": 0,
"blockNumber": 11467274,
"transactionHash": "0x7e15dcf9a8ae87b92a8999cbbeb13701170a16f1a8f1032ad78fa8650a60f28d",
"address": "0xE7F8303C769FA19752861B49C32A21494690C307",
"blockNumber": 14503487,
"transactionHash": "0x3b792654d5e96b026ceef73ae75156f47a971fb90f31abee69268f26ecfe3d80",
"address": "0xA42D7d6eC4508De5Dd87aC5F726e7b2CD233B40c",
"topics": [
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eaae357a488f14fcdacbd060dde4cf045d2ec2ea",
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038394bfa893f61bf0f40af6960ad9ea8334be212",
"logIndex": 1,
"blockHash": "0x21cd3247ff16b679549d5a005b81cdd26230cc2692d8d2951dc7b3cdf3ddb8b2"
"blockHash": "0x188956df9633730fe5210c0cfc18230bf26d30c9c80572066075a356dce0313f"
}
],
"blockNumber": 11467274,
"cumulativeGasUsed": "720430",
"blockNumber": 14503487,
"cumulativeGasUsed": "720722",
"status": 1,
"byzantium": true
},
"args": [
"0xe15e18151D0677e719C6d8f0aE7C95c18E8DFfd6",
"0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"0x6Da9aF38B3Db84278F67f645f77312CEc7220Ea4",
"0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"0x"
],
"numDeployments": 1,
Expand Down
26 changes: 13 additions & 13 deletions deployments/porcini-dev/DefaultProxyAdmin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"address": "0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -162,34 +162,34 @@
"type": "function"
}
],
"transactionHash": "0x319c6301559b27930feed0184afa042f24a2e86e596f2e9ce35ff6343c7fa3a3",
"transactionHash": "0x64388432632943703834de752a0f50373c8f9abedbb922ff312e96a60235aafe",
"receipt": {
"to": null,
"from": "0x448c8e9e1816300Dd052e77D2A44c990A2807D15",
"contractAddress": "0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"contractAddress": "0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"transactionIndex": 0,
"gasUsed": "643983",
"logsBloom": "0x00000000000000000000000002000000010000000000000000800000008000000400000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x00e4319893c56f6f558e9bcc716c846cafb50e1374f8b1392f8e36ff8dd71630",
"transactionHash": "0x319c6301559b27930feed0184afa042f24a2e86e596f2e9ce35ff6343c7fa3a3",
"gasUsed": "644163",
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000008000000400000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000001000000002000000000000000000000000000020000000000000000000800000000000000000000000000000000404002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xec1a4b2b49c5eb4b585ee570b018fb86fb06edbb6de75d0dc6afca9efe2aa771",
"transactionHash": "0x64388432632943703834de752a0f50373c8f9abedbb922ff312e96a60235aafe",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 11467272,
"transactionHash": "0x319c6301559b27930feed0184afa042f24a2e86e596f2e9ce35ff6343c7fa3a3",
"address": "0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"blockNumber": 14503484,
"transactionHash": "0x64388432632943703834de752a0f50373c8f9abedbb922ff312e96a60235aafe",
"address": "0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000448c8e9e1816300dd052e77d2a44c990a2807d15"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x00e4319893c56f6f558e9bcc716c846cafb50e1374f8b1392f8e36ff8dd71630"
"blockHash": "0xec1a4b2b49c5eb4b585ee570b018fb86fb06edbb6de75d0dc6afca9efe2aa771"
}
],
"blockNumber": 11467272,
"cumulativeGasUsed": "643983",
"blockNumber": 14503484,
"cumulativeGasUsed": "644163",
"status": 1,
"byzantium": true
},
Expand Down
44 changes: 22 additions & 22 deletions deployments/porcini-dev/Directory.json

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions deployments/porcini-dev/Directory_Implementation.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions deployments/porcini-dev/Directory_Proxy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x2821952344B25C1Daa00e650922f622624c89061",
"address": "0xccCC404B62a7af99545bcf2c90Bd5E1ccc4DF203",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -146,51 +146,51 @@
"type": "receive"
}
],
"transactionHash": "0x33ea1d4c793005d7ad46cb94f882345842205c2f78d502d22579bbd30e609e18",
"transactionHash": "0x867b9706e7a1771ce845ad37bb89f42abf4f8446a682f48c7ca32b87788e579b",
"receipt": {
"to": null,
"from": "0x448c8e9e1816300Dd052e77D2A44c990A2807D15",
"contractAddress": "0x2821952344B25C1Daa00e650922f622624c89061",
"contractAddress": "0xccCC404B62a7af99545bcf2c90Bd5E1ccc4DF203",
"transactionIndex": 0,
"gasUsed": "720430",
"logsBloom": "0x20000020000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000010000000000000000000000000000000000800000000000000000008000000040200000000000000000000000000000000000000000000020000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x1ec2dd67a927b1f206a51527cac0ad55a3d40b519932a0c46887f63f02903a21",
"transactionHash": "0x33ea1d4c793005d7ad46cb94f882345842205c2f78d502d22579bbd30e609e18",
"gasUsed": "720722",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000002000000000000000000000000000000000000000000000000000000200000000000000002800000000000000000000000020000000000000000000000000000000000000000000000000000000000800000000100000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000400000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x188b9a7c6517b499d91814cc7ce8aef2b891f830cbfd84ba371158bf64b9ea80",
"transactionHash": "0x867b9706e7a1771ce845ad37bb89f42abf4f8446a682f48c7ca32b87788e579b",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 11467291,
"transactionHash": "0x33ea1d4c793005d7ad46cb94f882345842205c2f78d502d22579bbd30e609e18",
"address": "0x2821952344B25C1Daa00e650922f622624c89061",
"blockNumber": 14503501,
"transactionHash": "0x867b9706e7a1771ce845ad37bb89f42abf4f8446a682f48c7ca32b87788e579b",
"address": "0xccCC404B62a7af99545bcf2c90Bd5E1ccc4DF203",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x00000000000000000000000048d252ba670eeeec90e2934ed7368e1c8369ea77"
"0x000000000000000000000000d430ddc55b878cd36f2ac7b9754331399c4addae"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x1ec2dd67a927b1f206a51527cac0ad55a3d40b519932a0c46887f63f02903a21"
"blockHash": "0x188b9a7c6517b499d91814cc7ce8aef2b891f830cbfd84ba371158bf64b9ea80"
},
{
"transactionIndex": 0,
"blockNumber": 11467291,
"transactionHash": "0x33ea1d4c793005d7ad46cb94f882345842205c2f78d502d22579bbd30e609e18",
"address": "0x2821952344B25C1Daa00e650922f622624c89061",
"blockNumber": 14503501,
"transactionHash": "0x867b9706e7a1771ce845ad37bb89f42abf4f8446a682f48c7ca32b87788e579b",
"address": "0xccCC404B62a7af99545bcf2c90Bd5E1ccc4DF203",
"topics": [
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eaae357a488f14fcdacbd060dde4cf045d2ec2ea",
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038394bfa893f61bf0f40af6960ad9ea8334be212",
"logIndex": 1,
"blockHash": "0x1ec2dd67a927b1f206a51527cac0ad55a3d40b519932a0c46887f63f02903a21"
"blockHash": "0x188b9a7c6517b499d91814cc7ce8aef2b891f830cbfd84ba371158bf64b9ea80"
}
],
"blockNumber": 11467291,
"cumulativeGasUsed": "720430",
"blockNumber": 14503501,
"cumulativeGasUsed": "720722",
"status": 1,
"byzantium": true
},
"args": [
"0x48d252ba670eEEEC90E2934Ed7368E1C8369EA77",
"0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"0xD430dDc55B878Cd36F2Ac7B9754331399c4adDae",
"0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"0x"
],
"numDeployments": 1,
Expand Down
46 changes: 23 additions & 23 deletions deployments/porcini-dev/EpochsManager.json

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions deployments/porcini-dev/EpochsManager_Implementation.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions deployments/porcini-dev/EpochsManager_Proxy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x90D7Fc33b29505209e107110b5f932dBcBC4Eac6",
"address": "0x1E609495625Ba8aa130E7324De65859F15C45Db9",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -146,51 +146,51 @@
"type": "receive"
}
],
"transactionHash": "0x033a61f0f9f88538ae21d09da9a23155f879e242b81174f119b0f25ed6fdaed9",
"transactionHash": "0x56f80fbf3e7e58f2e8d9c192a654b2c1539168da4aec9139be5e1bca9db8d8d5",
"receipt": {
"to": null,
"from": "0x448c8e9e1816300Dd052e77D2A44c990A2807D15",
"contractAddress": "0x90D7Fc33b29505209e107110b5f932dBcBC4Eac6",
"contractAddress": "0x1E609495625Ba8aa130E7324De65859F15C45Db9",
"transactionIndex": 0,
"gasUsed": "720430",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000002080000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000004000000000000800000000000000000000000000000000000000000004000000000000000000000000000000020000000000000002000000000000000000400000000000000000000000000000000000000000000000000000000000000000000400000000000000000",
"blockHash": "0x65d3f6987c671473ff156b9e2254ee924c098c37662161bde1779134456bd176",
"transactionHash": "0x033a61f0f9f88538ae21d09da9a23155f879e242b81174f119b0f25ed6fdaed9",
"gasUsed": "720710",
"logsBloom": "0x00000000000000000000000000000000400000200000000000000000000000000000000000000000010000000000000040000000000000000000000000000000000000020000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000020000000000000200000000000000000000400000000000000000000000000000000000000400000000000000000000000000000000000000000000000",
"blockHash": "0xf9123010d0d22fcf882b04e2895f08b47f7a52006df947c0843de365f80eb8da",
"transactionHash": "0x56f80fbf3e7e58f2e8d9c192a654b2c1539168da4aec9139be5e1bca9db8d8d5",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 11467283,
"transactionHash": "0x033a61f0f9f88538ae21d09da9a23155f879e242b81174f119b0f25ed6fdaed9",
"address": "0x90D7Fc33b29505209e107110b5f932dBcBC4Eac6",
"blockNumber": 14503494,
"transactionHash": "0x56f80fbf3e7e58f2e8d9c192a654b2c1539168da4aec9139be5e1bca9db8d8d5",
"address": "0x1E609495625Ba8aa130E7324De65859F15C45Db9",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x000000000000000000000000b4ba7f163a6997d07841723d4e72d43bef6ad4d9"
"0x000000000000000000000000cccbe19efdc4da900cd642c3994fc0006020a10a"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x65d3f6987c671473ff156b9e2254ee924c098c37662161bde1779134456bd176"
"blockHash": "0xf9123010d0d22fcf882b04e2895f08b47f7a52006df947c0843de365f80eb8da"
},
{
"transactionIndex": 0,
"blockNumber": 11467283,
"transactionHash": "0x033a61f0f9f88538ae21d09da9a23155f879e242b81174f119b0f25ed6fdaed9",
"address": "0x90D7Fc33b29505209e107110b5f932dBcBC4Eac6",
"blockNumber": 14503494,
"transactionHash": "0x56f80fbf3e7e58f2e8d9c192a654b2c1539168da4aec9139be5e1bca9db8d8d5",
"address": "0x1E609495625Ba8aa130E7324De65859F15C45Db9",
"topics": [
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eaae357a488f14fcdacbd060dde4cf045d2ec2ea",
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038394bfa893f61bf0f40af6960ad9ea8334be212",
"logIndex": 1,
"blockHash": "0x65d3f6987c671473ff156b9e2254ee924c098c37662161bde1779134456bd176"
"blockHash": "0xf9123010d0d22fcf882b04e2895f08b47f7a52006df947c0843de365f80eb8da"
}
],
"blockNumber": 11467283,
"cumulativeGasUsed": "720430",
"blockNumber": 14503494,
"cumulativeGasUsed": "720710",
"status": 1,
"byzantium": true
},
"args": [
"0xB4ba7F163A6997d07841723d4e72D43BEf6aD4D9",
"0xeaAe357a488f14FcDacBD060Dde4cf045d2EC2EA",
"0xcCCBE19EFDc4Da900cD642c3994Fc0006020a10A",
"0x38394bfA893F61Bf0f40af6960Ad9ea8334BE212",
"0x"
],
"numDeployments": 1,
Expand Down
Loading

0 comments on commit 590cc3e

Please sign in to comment.