@cartesi/devnet 2.0.0-alpha.2 → 2.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/anvil_state.json +1 -0
  2. package/deployments/TestMultiToken.json +585 -0
  3. package/deployments/TestNFT.json +590 -0
  4. package/deployments/TestToken.json +730 -0
  5. package/deployments/cartesiRollups.ApplicationFactory.json +164 -0
  6. package/deployments/cartesiRollups.AuthorityFactory.json +110 -0
  7. package/deployments/cartesiRollups.ERC1155BatchPortal.json +79 -0
  8. package/deployments/cartesiRollups.ERC1155SinglePortal.json +79 -0
  9. package/deployments/cartesiRollups.ERC20Portal.json +74 -0
  10. package/deployments/cartesiRollups.ERC721Portal.json +74 -0
  11. package/deployments/cartesiRollups.EtherPortal.json +64 -0
  12. package/deployments/cartesiRollups.InputBox.json +146 -0
  13. package/deployments/cartesiRollups.QuorumFactory.json +110 -0
  14. package/deployments/cartesiRollups.SafeERC20Transfer.json +49 -0
  15. package/deployments/cartesiRollups.SelfHostedApplicationFactory.json +158 -0
  16. package/package.json +10 -33
  17. package/build/anvil_state.json +0 -1
  18. package/deployments/localhost/.chainId +0 -1
  19. package/deployments/localhost/ApplicationFactory.json +0 -227
  20. package/deployments/localhost/AuthorityFactory.json +0 -188
  21. package/deployments/localhost/ERC1155BatchPortal.json +0 -133
  22. package/deployments/localhost/ERC1155SinglePortal.json +0 -132
  23. package/deployments/localhost/ERC20Portal.json +0 -132
  24. package/deployments/localhost/ERC721Portal.json +0 -126
  25. package/deployments/localhost/EtherPortal.json +0 -121
  26. package/deployments/localhost/InputBox.json +0 -213
  27. package/deployments/localhost/QuorumFactory.json +0 -188
  28. package/deployments/localhost/SafeERC20Transfer.json +0 -118
  29. package/deployments/localhost/SelfHostedApplicationFactory.json +0 -227
  30. package/deployments/localhost/TestMultiToken.json +0 -829
  31. package/deployments/localhost/TestNFT.json +0 -891
  32. package/deployments/localhost/TestToken.json +0 -1079
  33. package/dist/deploy/01_token.js +0 -15
  34. package/dist/deploy/02_nft.js +0 -15
  35. package/dist/deploy/03_multitoken.js +0 -15
  36. package/dist/deploy/04_4337.js +0 -342
  37. package/dist/src/aa/constants.d.ts +0 -31
  38. package/dist/src/aa/constants.d.ts.map +0 -1
  39. package/dist/src/aa/constants.js +0 -65
  40. package/dist/src/tasks/deploy-anvil.d.ts +0 -6
  41. package/dist/src/tasks/deploy-anvil.d.ts.map +0 -1
  42. package/dist/src/tasks/deploy-anvil.js +0 -40
  43. package/export/abi/localhost.json +0 -2837
  44. package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -128
  45. package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +0 -137
  46. package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +0 -32
  47. package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +0 -133
  48. package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +0 -1240
  49. package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +0 -60
  50. package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +0 -401
  51. package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +0 -84
  52. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +0 -190
  53. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +0 -165
  54. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +0 -197
  55. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +0 -553
  56. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +0 -362
  57. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +0 -156
  58. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +0 -385
  59. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol/ERC1155Utils.json +0 -34
  60. package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -436
  61. package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -242
  62. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -472
  63. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +0 -502
  64. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +0 -695
  65. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -293
  66. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +0 -114
  67. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -595
  68. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +0 -363
  69. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +0 -66
  70. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +0 -630
  71. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +0 -421
  72. package/export/artifacts/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol/ERC721Utils.json +0 -33
  73. package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +0 -61
  74. package/export/artifacts/@openzeppelin/contracts/utils/Comparators.sol/Comparators.json +0 -34
  75. package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -24
  76. package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +0 -73
  77. package/export/artifacts/@openzeppelin/contracts/utils/Panic.sol/Panic.json +0 -65
  78. package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +0 -103
  79. package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +0 -55
  80. package/export/artifacts/@openzeppelin/contracts/utils/SlotDerivation.sol/SlotDerivation.json +0 -42
  81. package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -41
  82. package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -63
  83. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +0 -84
  84. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +0 -105
  85. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +0 -36
  86. package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -50
  87. package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -50
  88. package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -60
  89. package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -174
  90. package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -37
  91. package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +0 -41
  92. package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +0 -750
  93. package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +0 -779
  94. package/export/artifacts/contracts/TestToken.sol/TestToken.json +0 -963
@@ -0,0 +1,164 @@
1
+ {
2
+ "address": "0x536Cd5028b046a7809A946c76C84Fe08377afA16",
3
+ "abi": [
4
+ {
5
+ "type": "function",
6
+ "name": "calculateApplicationAddress",
7
+ "inputs": [
8
+ {
9
+ "name": "outputsMerkleRootValidator",
10
+ "type": "address",
11
+ "internalType": "contract IOutputsMerkleRootValidator"
12
+ },
13
+ {
14
+ "name": "appOwner",
15
+ "type": "address",
16
+ "internalType": "address"
17
+ },
18
+ {
19
+ "name": "templateHash",
20
+ "type": "bytes32",
21
+ "internalType": "bytes32"
22
+ },
23
+ {
24
+ "name": "dataAvailability",
25
+ "type": "bytes",
26
+ "internalType": "bytes"
27
+ },
28
+ {
29
+ "name": "salt",
30
+ "type": "bytes32",
31
+ "internalType": "bytes32"
32
+ }
33
+ ],
34
+ "outputs": [
35
+ {
36
+ "name": "",
37
+ "type": "address",
38
+ "internalType": "address"
39
+ }
40
+ ],
41
+ "stateMutability": "view"
42
+ },
43
+ {
44
+ "type": "function",
45
+ "name": "newApplication",
46
+ "inputs": [
47
+ {
48
+ "name": "outputsMerkleRootValidator",
49
+ "type": "address",
50
+ "internalType": "contract IOutputsMerkleRootValidator"
51
+ },
52
+ {
53
+ "name": "appOwner",
54
+ "type": "address",
55
+ "internalType": "address"
56
+ },
57
+ {
58
+ "name": "templateHash",
59
+ "type": "bytes32",
60
+ "internalType": "bytes32"
61
+ },
62
+ {
63
+ "name": "dataAvailability",
64
+ "type": "bytes",
65
+ "internalType": "bytes"
66
+ },
67
+ {
68
+ "name": "salt",
69
+ "type": "bytes32",
70
+ "internalType": "bytes32"
71
+ }
72
+ ],
73
+ "outputs": [
74
+ {
75
+ "name": "",
76
+ "type": "address",
77
+ "internalType": "contract IApplication"
78
+ }
79
+ ],
80
+ "stateMutability": "nonpayable"
81
+ },
82
+ {
83
+ "type": "function",
84
+ "name": "newApplication",
85
+ "inputs": [
86
+ {
87
+ "name": "outputsMerkleRootValidator",
88
+ "type": "address",
89
+ "internalType": "contract IOutputsMerkleRootValidator"
90
+ },
91
+ {
92
+ "name": "appOwner",
93
+ "type": "address",
94
+ "internalType": "address"
95
+ },
96
+ {
97
+ "name": "templateHash",
98
+ "type": "bytes32",
99
+ "internalType": "bytes32"
100
+ },
101
+ {
102
+ "name": "dataAvailability",
103
+ "type": "bytes",
104
+ "internalType": "bytes"
105
+ }
106
+ ],
107
+ "outputs": [
108
+ {
109
+ "name": "",
110
+ "type": "address",
111
+ "internalType": "contract IApplication"
112
+ }
113
+ ],
114
+ "stateMutability": "nonpayable"
115
+ },
116
+ {
117
+ "type": "event",
118
+ "name": "ApplicationCreated",
119
+ "inputs": [
120
+ {
121
+ "name": "outputsMerkleRootValidator",
122
+ "type": "address",
123
+ "indexed": true,
124
+ "internalType": "contract IOutputsMerkleRootValidator"
125
+ },
126
+ {
127
+ "name": "appOwner",
128
+ "type": "address",
129
+ "indexed": false,
130
+ "internalType": "address"
131
+ },
132
+ {
133
+ "name": "templateHash",
134
+ "type": "bytes32",
135
+ "indexed": false,
136
+ "internalType": "bytes32"
137
+ },
138
+ {
139
+ "name": "dataAvailability",
140
+ "type": "bytes",
141
+ "indexed": false,
142
+ "internalType": "bytes"
143
+ },
144
+ {
145
+ "name": "appContract",
146
+ "type": "address",
147
+ "indexed": false,
148
+ "internalType": "contract IApplication"
149
+ }
150
+ ],
151
+ "anonymous": false
152
+ }
153
+ ],
154
+ "constructorArgs": [],
155
+ "linkedLibraries": {},
156
+ "deployTxnHash": "0x427f4333b6ab46e9ec0f6a7342aaf05edd4cca6c5ccab9bbae6c70274802926e",
157
+ "deployTxnBlockNumber": "1",
158
+ "deployTimestamp": "1742420099",
159
+ "sourceName": "src/dapp/ApplicationFactory.sol",
160
+ "contractName": "ApplicationFactory",
161
+ "deployedOn": "deploy.ApplicationFactory",
162
+ "gasUsed": 1231218,
163
+ "gasCost": "1307089293"
164
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "address": "0x175965d993BcaAFcdfB3699fdA04F15e6AD9B76B",
3
+ "abi": [
4
+ {
5
+ "type": "function",
6
+ "name": "calculateAuthorityAddress",
7
+ "inputs": [
8
+ {
9
+ "name": "authorityOwner",
10
+ "type": "address",
11
+ "internalType": "address"
12
+ },
13
+ {
14
+ "name": "epochLength",
15
+ "type": "uint256",
16
+ "internalType": "uint256"
17
+ },
18
+ {
19
+ "name": "salt",
20
+ "type": "bytes32",
21
+ "internalType": "bytes32"
22
+ }
23
+ ],
24
+ "outputs": [
25
+ {
26
+ "name": "",
27
+ "type": "address",
28
+ "internalType": "address"
29
+ }
30
+ ],
31
+ "stateMutability": "view"
32
+ },
33
+ {
34
+ "type": "function",
35
+ "name": "newAuthority",
36
+ "inputs": [
37
+ {
38
+ "name": "authorityOwner",
39
+ "type": "address",
40
+ "internalType": "address"
41
+ },
42
+ {
43
+ "name": "epochLength",
44
+ "type": "uint256",
45
+ "internalType": "uint256"
46
+ }
47
+ ],
48
+ "outputs": [
49
+ {
50
+ "name": "",
51
+ "type": "address",
52
+ "internalType": "contract IAuthority"
53
+ }
54
+ ],
55
+ "stateMutability": "nonpayable"
56
+ },
57
+ {
58
+ "type": "function",
59
+ "name": "newAuthority",
60
+ "inputs": [
61
+ {
62
+ "name": "authorityOwner",
63
+ "type": "address",
64
+ "internalType": "address"
65
+ },
66
+ {
67
+ "name": "epochLength",
68
+ "type": "uint256",
69
+ "internalType": "uint256"
70
+ },
71
+ {
72
+ "name": "salt",
73
+ "type": "bytes32",
74
+ "internalType": "bytes32"
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "name": "",
80
+ "type": "address",
81
+ "internalType": "contract IAuthority"
82
+ }
83
+ ],
84
+ "stateMutability": "nonpayable"
85
+ },
86
+ {
87
+ "type": "event",
88
+ "name": "AuthorityCreated",
89
+ "inputs": [
90
+ {
91
+ "name": "authority",
92
+ "type": "address",
93
+ "indexed": false,
94
+ "internalType": "contract IAuthority"
95
+ }
96
+ ],
97
+ "anonymous": false
98
+ }
99
+ ],
100
+ "constructorArgs": [],
101
+ "linkedLibraries": {},
102
+ "deployTxnHash": "0xd929e661c98994ab003c36d9bab21dba3e47b81d40c539a082a5645a5c211b0f",
103
+ "deployTxnBlockNumber": "1",
104
+ "deployTimestamp": "1742420099",
105
+ "sourceName": "src/consensus/authority/AuthorityFactory.sol",
106
+ "contractName": "AuthorityFactory",
107
+ "deployedOn": "deploy.AuthorityFactory",
108
+ "gasUsed": 481615,
109
+ "gasCost": "1271853914"
110
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "address": "0xbFe3ee28d5d15B73c959BcBBA6e2933423CDBE55",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "inputBox",
9
+ "type": "address",
10
+ "internalType": "contract IInputBox"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "depositBatchERC1155Token",
18
+ "inputs": [
19
+ {
20
+ "name": "token",
21
+ "type": "address",
22
+ "internalType": "contract IERC1155"
23
+ },
24
+ {
25
+ "name": "appContract",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "tokenIds",
31
+ "type": "uint256[]",
32
+ "internalType": "uint256[]"
33
+ },
34
+ {
35
+ "name": "values",
36
+ "type": "uint256[]",
37
+ "internalType": "uint256[]"
38
+ },
39
+ {
40
+ "name": "baseLayerData",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ },
44
+ {
45
+ "name": "execLayerData",
46
+ "type": "bytes",
47
+ "internalType": "bytes"
48
+ }
49
+ ],
50
+ "outputs": [],
51
+ "stateMutability": "nonpayable"
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "getInputBox",
56
+ "inputs": [],
57
+ "outputs": [
58
+ {
59
+ "name": "",
60
+ "type": "address",
61
+ "internalType": "contract IInputBox"
62
+ }
63
+ ],
64
+ "stateMutability": "view"
65
+ }
66
+ ],
67
+ "constructorArgs": [
68
+ "0xBa3Cf8fB82E43D370117A0b7296f91ED674E94e3"
69
+ ],
70
+ "linkedLibraries": {},
71
+ "deployTxnHash": "0xa23ef3c831353b59e40d99f2e47bf9717db1f738b184f361ea02c9007fe17ac9",
72
+ "deployTxnBlockNumber": "3",
73
+ "deployTimestamp": "1742420099",
74
+ "sourceName": "src/portals/ERC1155BatchPortal.sol",
75
+ "contractName": "ERC1155BatchPortal",
76
+ "deployedOn": "deploy.ERC1155BatchPortal",
77
+ "gasUsed": 306740,
78
+ "gasCost": "1767389905"
79
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "address": "0x9853aA088E66Bcf8FE03318e4bD1EA6f8351A574",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "inputBox",
9
+ "type": "address",
10
+ "internalType": "contract IInputBox"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "depositSingleERC1155Token",
18
+ "inputs": [
19
+ {
20
+ "name": "token",
21
+ "type": "address",
22
+ "internalType": "contract IERC1155"
23
+ },
24
+ {
25
+ "name": "appContract",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "tokenId",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ },
34
+ {
35
+ "name": "value",
36
+ "type": "uint256",
37
+ "internalType": "uint256"
38
+ },
39
+ {
40
+ "name": "baseLayerData",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ },
44
+ {
45
+ "name": "execLayerData",
46
+ "type": "bytes",
47
+ "internalType": "bytes"
48
+ }
49
+ ],
50
+ "outputs": [],
51
+ "stateMutability": "nonpayable"
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "getInputBox",
56
+ "inputs": [],
57
+ "outputs": [
58
+ {
59
+ "name": "",
60
+ "type": "address",
61
+ "internalType": "contract IInputBox"
62
+ }
63
+ ],
64
+ "stateMutability": "view"
65
+ }
66
+ ],
67
+ "constructorArgs": [
68
+ "0xBa3Cf8fB82E43D370117A0b7296f91ED674E94e3"
69
+ ],
70
+ "linkedLibraries": {},
71
+ "deployTxnHash": "0xd3fe61ec3cca6cecb7885bdf9a979d29fc9582956e470cfe0e70bbf47c87ccea",
72
+ "deployTxnBlockNumber": "4",
73
+ "deployTimestamp": "1742420099",
74
+ "sourceName": "src/portals/ERC1155SinglePortal.sol",
75
+ "contractName": "ERC1155SinglePortal",
76
+ "deployedOn": "deploy.ERC1155SinglePortal",
77
+ "gasUsed": 259738,
78
+ "gasCost": "1673427744"
79
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "address": "0x6dDB2ef7D2523042da3DD0d0a69C3351E9703c78",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "inputBox",
9
+ "type": "address",
10
+ "internalType": "contract IInputBox"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "depositERC20Tokens",
18
+ "inputs": [
19
+ {
20
+ "name": "token",
21
+ "type": "address",
22
+ "internalType": "contract IERC20"
23
+ },
24
+ {
25
+ "name": "appContract",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "value",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ },
34
+ {
35
+ "name": "execLayerData",
36
+ "type": "bytes",
37
+ "internalType": "bytes"
38
+ }
39
+ ],
40
+ "outputs": [],
41
+ "stateMutability": "nonpayable"
42
+ },
43
+ {
44
+ "type": "function",
45
+ "name": "getInputBox",
46
+ "inputs": [],
47
+ "outputs": [
48
+ {
49
+ "name": "",
50
+ "type": "address",
51
+ "internalType": "contract IInputBox"
52
+ }
53
+ ],
54
+ "stateMutability": "view"
55
+ },
56
+ {
57
+ "type": "error",
58
+ "name": "ERC20TransferFailed",
59
+ "inputs": []
60
+ }
61
+ ],
62
+ "constructorArgs": [
63
+ "0xBa3Cf8fB82E43D370117A0b7296f91ED674E94e3"
64
+ ],
65
+ "linkedLibraries": {},
66
+ "deployTxnHash": "0xd82ded6a928b0954625e9b15e193913f04edca536cc3187123cdbc82282b34c4",
67
+ "deployTxnBlockNumber": "5",
68
+ "deployTimestamp": "1742420099",
69
+ "sourceName": "src/portals/ERC20Portal.sol",
70
+ "contractName": "ERC20Portal",
71
+ "deployedOn": "deploy.ERC20Portal",
72
+ "gasUsed": 220318,
73
+ "gasCost": "1590706900"
74
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "address": "0x58d0517347CAbeEc4209f50284dAa86D2ee27481",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "inputBox",
9
+ "type": "address",
10
+ "internalType": "contract IInputBox"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "depositERC721Token",
18
+ "inputs": [
19
+ {
20
+ "name": "token",
21
+ "type": "address",
22
+ "internalType": "contract IERC721"
23
+ },
24
+ {
25
+ "name": "appContract",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "tokenId",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ },
34
+ {
35
+ "name": "baseLayerData",
36
+ "type": "bytes",
37
+ "internalType": "bytes"
38
+ },
39
+ {
40
+ "name": "execLayerData",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ }
44
+ ],
45
+ "outputs": [],
46
+ "stateMutability": "nonpayable"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "getInputBox",
51
+ "inputs": [],
52
+ "outputs": [
53
+ {
54
+ "name": "",
55
+ "type": "address",
56
+ "internalType": "contract IInputBox"
57
+ }
58
+ ],
59
+ "stateMutability": "view"
60
+ }
61
+ ],
62
+ "constructorArgs": [
63
+ "0xBa3Cf8fB82E43D370117A0b7296f91ED674E94e3"
64
+ ],
65
+ "linkedLibraries": {},
66
+ "deployTxnHash": "0xec89f7094060e794df5149e2f99851f29750f6f362dbfd627c248dc5e5440cbb",
67
+ "deployTxnBlockNumber": "6",
68
+ "deployTimestamp": "1742420099",
69
+ "sourceName": "src/portals/ERC721Portal.sol",
70
+ "contractName": "ERC721Portal",
71
+ "deployedOn": "deploy.ERC721Portal",
72
+ "gasUsed": 254764,
73
+ "gasCost": "1517953066"
74
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "address": "0xD38C21A3b080CB1d0aF0140cC19F01A203B07064",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "inputBox",
9
+ "type": "address",
10
+ "internalType": "contract IInputBox"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "depositEther",
18
+ "inputs": [
19
+ {
20
+ "name": "appContract",
21
+ "type": "address",
22
+ "internalType": "address"
23
+ },
24
+ {
25
+ "name": "execLayerData",
26
+ "type": "bytes",
27
+ "internalType": "bytes"
28
+ }
29
+ ],
30
+ "outputs": [],
31
+ "stateMutability": "payable"
32
+ },
33
+ {
34
+ "type": "function",
35
+ "name": "getInputBox",
36
+ "inputs": [],
37
+ "outputs": [
38
+ {
39
+ "name": "",
40
+ "type": "address",
41
+ "internalType": "contract IInputBox"
42
+ }
43
+ ],
44
+ "stateMutability": "view"
45
+ },
46
+ {
47
+ "type": "error",
48
+ "name": "EtherTransferFailed",
49
+ "inputs": []
50
+ }
51
+ ],
52
+ "constructorArgs": [
53
+ "0xBa3Cf8fB82E43D370117A0b7296f91ED674E94e3"
54
+ ],
55
+ "linkedLibraries": {},
56
+ "deployTxnHash": "0x3cadfe6aa50e22e38def64d908c997c8d69d02135c47827dbcf0605271403742",
57
+ "deployTxnBlockNumber": "7",
58
+ "deployTimestamp": "1742420100",
59
+ "sourceName": "src/portals/EtherPortal.sol",
60
+ "contractName": "EtherPortal",
61
+ "deployedOn": "deploy.EtherPortal",
62
+ "gasUsed": 200806,
63
+ "gasCost": "1454308565"
64
+ }