@cartesi/devnet 2.0.0-alpha.3 → 2.0.0-alpha.5
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.
- package/anvil_state.json +1 -0
- package/deployments/TestMultiToken.json +585 -0
- package/deployments/TestNFT.json +590 -0
- package/deployments/TestToken.json +730 -0
- package/deployments/cartesiRollups.ApplicationFactory.json +164 -0
- package/deployments/cartesiRollups.AuthorityFactory.json +110 -0
- package/deployments/cartesiRollups.ERC1155BatchPortal.json +79 -0
- package/deployments/cartesiRollups.ERC1155SinglePortal.json +79 -0
- package/deployments/cartesiRollups.ERC20Portal.json +74 -0
- package/deployments/cartesiRollups.ERC721Portal.json +74 -0
- package/deployments/cartesiRollups.EtherPortal.json +64 -0
- package/deployments/cartesiRollups.InputBox.json +141 -0
- package/deployments/cartesiRollups.QuorumFactory.json +110 -0
- package/deployments/cartesiRollups.SafeERC20Transfer.json +49 -0
- package/deployments/cartesiRollups.SelfHostedApplicationFactory.json +158 -0
- package/package.json +15 -33
- package/build/anvil_state.json +0 -1
- package/deployments/localhost/.chainId +0 -1
- package/deployments/localhost/ApplicationFactory.json +0 -227
- package/deployments/localhost/AuthorityFactory.json +0 -188
- package/deployments/localhost/ERC1155BatchPortal.json +0 -133
- package/deployments/localhost/ERC1155SinglePortal.json +0 -132
- package/deployments/localhost/ERC20Portal.json +0 -132
- package/deployments/localhost/ERC721Portal.json +0 -126
- package/deployments/localhost/EtherPortal.json +0 -121
- package/deployments/localhost/InputBox.json +0 -213
- package/deployments/localhost/QuorumFactory.json +0 -188
- package/deployments/localhost/SafeERC20Transfer.json +0 -118
- package/deployments/localhost/SelfHostedApplicationFactory.json +0 -227
- package/deployments/localhost/TestMultiToken.json +0 -829
- package/deployments/localhost/TestNFT.json +0 -891
- package/deployments/localhost/TestToken.json +0 -1079
- package/dist/deploy/01_token.js +0 -15
- package/dist/deploy/02_nft.js +0 -15
- package/dist/deploy/03_multitoken.js +0 -15
- package/dist/deploy/04_4337.js +0 -342
- package/dist/src/aa/constants.d.ts +0 -31
- package/dist/src/aa/constants.d.ts.map +0 -1
- package/dist/src/aa/constants.js +0 -65
- package/dist/src/tasks/deploy-anvil.d.ts +0 -6
- package/dist/src/tasks/deploy-anvil.d.ts.map +0 -1
- package/dist/src/tasks/deploy-anvil.js +0 -40
- package/export/abi/localhost.json +0 -2837
- package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -128
- package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +0 -137
- package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +0 -32
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +0 -133
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +0 -1240
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +0 -60
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +0 -401
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +0 -84
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +0 -190
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +0 -165
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +0 -197
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +0 -553
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +0 -362
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +0 -156
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +0 -385
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol/ERC1155Utils.json +0 -34
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -436
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -242
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -472
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +0 -502
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +0 -695
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -293
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +0 -114
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -595
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +0 -363
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +0 -66
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +0 -630
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +0 -421
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol/ERC721Utils.json +0 -33
- package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +0 -61
- package/export/artifacts/@openzeppelin/contracts/utils/Comparators.sol/Comparators.json +0 -34
- package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -24
- package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +0 -73
- package/export/artifacts/@openzeppelin/contracts/utils/Panic.sol/Panic.json +0 -65
- package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +0 -103
- package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +0 -55
- package/export/artifacts/@openzeppelin/contracts/utils/SlotDerivation.sol/SlotDerivation.json +0 -42
- package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -41
- package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -63
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +0 -84
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +0 -105
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +0 -36
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -50
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -50
- package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -60
- package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -174
- package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -37
- package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +0 -41
- package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +0 -750
- package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +0 -779
- package/export/artifacts/contracts/TestToken.sol/TestToken.json +0 -963
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x2210ad1d9B0bD2D470c2bfA4814ab6253BC421A0",
|
|
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": "0x3f64dd4339edba3bed5a1b76c0721f54b5ff7430a90233c60ab1ebfd7e213f43",
|
|
157
|
+
"deployTxnBlockNumber": "1",
|
|
158
|
+
"deployTimestamp": "1742931756",
|
|
159
|
+
"sourceName": "src/dapp/ApplicationFactory.sol",
|
|
160
|
+
"contractName": "ApplicationFactory",
|
|
161
|
+
"deployedOn": "deploy.ApplicationFactory",
|
|
162
|
+
"gasUsed": 1249720,
|
|
163
|
+
"gasCost": "1307089154"
|
|
164
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x451f57Ca716046D114Ab9ff23269a2F9F4a1bdaF",
|
|
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": "0x32fc5fdfcde6c71d6331452defed1019c5f47483624b11c4eb6f1209eb44ff5c",
|
|
103
|
+
"deployTxnBlockNumber": "1",
|
|
104
|
+
"deployTimestamp": "1742931756",
|
|
105
|
+
"sourceName": "src/consensus/authority/AuthorityFactory.sol",
|
|
106
|
+
"contractName": "AuthorityFactory",
|
|
107
|
+
"deployedOn": "deploy.AuthorityFactory",
|
|
108
|
+
"gasUsed": 481603,
|
|
109
|
+
"gasCost": "1271901139"
|
|
110
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0xBc70d79F916A6d48aB0b8F03AC58f89742dEDA34",
|
|
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
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
69
|
+
],
|
|
70
|
+
"linkedLibraries": {},
|
|
71
|
+
"deployTxnHash": "0x2076bc2995b4cda946265fa53f6a5a51c86803c2042793f175f6173edc8b885f",
|
|
72
|
+
"deployTxnBlockNumber": "3",
|
|
73
|
+
"deployTimestamp": "1742931756",
|
|
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": "0xB778147D50219544F113A55DE1d8de626f0cC1bB",
|
|
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
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
69
|
+
],
|
|
70
|
+
"linkedLibraries": {},
|
|
71
|
+
"deployTxnHash": "0xec303b5b9c845b64fed2e68f3d55bfa2d7f7e7a8f6becb85f3630891eaf6b8f2",
|
|
72
|
+
"deployTxnBlockNumber": "4",
|
|
73
|
+
"deployTimestamp": "1742931756",
|
|
74
|
+
"sourceName": "src/portals/ERC1155SinglePortal.sol",
|
|
75
|
+
"contractName": "ERC1155SinglePortal",
|
|
76
|
+
"deployedOn": "deploy.ERC1155SinglePortal",
|
|
77
|
+
"gasUsed": 259714,
|
|
78
|
+
"gasCost": "1673427744"
|
|
79
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x05355c2F9bA566c06199DEb17212c3B78C1A3C31",
|
|
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
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
64
|
+
],
|
|
65
|
+
"linkedLibraries": {},
|
|
66
|
+
"deployTxnHash": "0xb0d47464356a7fbecf4b193349c8a176c08e20002da4cbd3317666e94adbcc9a",
|
|
67
|
+
"deployTxnBlockNumber": "5",
|
|
68
|
+
"deployTimestamp": "1742931756",
|
|
69
|
+
"sourceName": "src/portals/ERC20Portal.sol",
|
|
70
|
+
"contractName": "ERC20Portal",
|
|
71
|
+
"deployedOn": "deploy.ERC20Portal",
|
|
72
|
+
"gasUsed": 220318,
|
|
73
|
+
"gasCost": "1590706765"
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x0F5A20d3729c44FedabBb560b3D633dc1c246DDe",
|
|
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
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
64
|
+
],
|
|
65
|
+
"linkedLibraries": {},
|
|
66
|
+
"deployTxnHash": "0xfa1ffa4bd3069064938ec3a2740e0342afef40d3a08c73915d7aa2563b9e136d",
|
|
67
|
+
"deployTxnBlockNumber": "6",
|
|
68
|
+
"deployTimestamp": "1742931756",
|
|
69
|
+
"sourceName": "src/portals/ERC721Portal.sol",
|
|
70
|
+
"contractName": "ERC721Portal",
|
|
71
|
+
"deployedOn": "deploy.ERC721Portal",
|
|
72
|
+
"gasUsed": 254764,
|
|
73
|
+
"gasCost": "1517952948"
|
|
74
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0xd31aD6613bDaA139E7D12B2428C0Dd00fdBF8aDa",
|
|
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
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
54
|
+
],
|
|
55
|
+
"linkedLibraries": {},
|
|
56
|
+
"deployTxnHash": "0x0019b2fa6a38eb92fe088a6534276ed0440e7d615016d593ee6e1c702819a9eb",
|
|
57
|
+
"deployTxnBlockNumber": "7",
|
|
58
|
+
"deployTimestamp": "1742931756",
|
|
59
|
+
"sourceName": "src/portals/EtherPortal.sol",
|
|
60
|
+
"contractName": "EtherPortal",
|
|
61
|
+
"deployedOn": "deploy.EtherPortal",
|
|
62
|
+
"gasUsed": 200794,
|
|
63
|
+
"gasCost": "1454308461"
|
|
64
|
+
}
|