Skip to content

Commit c02ab40

Browse files
committed
new hs-web3 version, WIP for purs tests
1 parent 64bb513 commit c02ab40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3366
-1135
lines changed

chanterelle.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"extra-abis": "contracts/abis",
77
"modules": [
88
"SuperRareAuctionHouse",
9+
"SuperRareRoyaltyRegistry",
10+
"SuperRareTokenCreatorRegistry",
11+
"IERC721CreatorRoyalty",
12+
"IERC721TokenCreator",
13+
"Marketplace.IMarketplaceSettings",
14+
"Marketplace.MarketplaceSettings",
915
"MaybeSendValue",
1016
"SendValueOrEscrow",
1117
"SuperRareMarketAuctionV2",
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"networks": {},
3+
"lastModified": 1603253483194,
4+
"code": {
5+
"deployedBytecode": {
6+
"linkReferences": {},
7+
"object": ""
8+
},
9+
"bytecode": {
10+
"linkReferences": {},
11+
"object": ""
12+
}
13+
},
14+
"abi": [
15+
{
16+
"inputs": [
17+
{
18+
"internalType": "address",
19+
"name": "_contractAddress",
20+
"type": "address"
21+
},
22+
{
23+
"internalType": "uint256",
24+
"name": "_tokenId",
25+
"type": "uint256"
26+
},
27+
{
28+
"internalType": "uint256",
29+
"name": "_amount",
30+
"type": "uint256"
31+
}
32+
],
33+
"name": "calculateRoyaltyFee",
34+
"outputs": [
35+
{
36+
"internalType": "uint256",
37+
"name": "",
38+
"type": "uint256"
39+
}
40+
],
41+
"stateMutability": "view",
42+
"type": "function"
43+
},
44+
{
45+
"inputs": [
46+
{
47+
"internalType": "address",
48+
"name": "_contractAddress",
49+
"type": "address"
50+
},
51+
{
52+
"internalType": "uint256",
53+
"name": "_tokenId",
54+
"type": "uint256"
55+
}
56+
],
57+
"name": "getERC721TokenRoyaltyPercentage",
58+
"outputs": [
59+
{
60+
"internalType": "uint8",
61+
"name": "",
62+
"type": "uint8"
63+
}
64+
],
65+
"stateMutability": "view",
66+
"type": "function"
67+
},
68+
{
69+
"inputs": [
70+
{
71+
"internalType": "address",
72+
"name": "_contractAddress",
73+
"type": "address"
74+
},
75+
{
76+
"internalType": "uint256",
77+
"name": "_tokenId",
78+
"type": "uint256"
79+
}
80+
],
81+
"name": "tokenCreator",
82+
"outputs": [
83+
{
84+
"internalType": "address payable",
85+
"name": "",
86+
"type": "address"
87+
}
88+
],
89+
"stateMutability": "view",
90+
"type": "function"
91+
}
92+
]
93+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"networks": {},
3+
"lastModified": 1603253483205,
4+
"code": {
5+
"deployedBytecode": {
6+
"linkReferences": {},
7+
"object": ""
8+
},
9+
"bytecode": {
10+
"linkReferences": {},
11+
"object": ""
12+
}
13+
},
14+
"abi": [
15+
{
16+
"inputs": [
17+
{
18+
"internalType": "address",
19+
"name": "_contractAddress",
20+
"type": "address"
21+
},
22+
{
23+
"internalType": "uint256",
24+
"name": "_tokenId",
25+
"type": "uint256"
26+
}
27+
],
28+
"name": "tokenCreator",
29+
"outputs": [
30+
{
31+
"internalType": "address payable",
32+
"name": "",
33+
"type": "address"
34+
}
35+
],
36+
"stateMutability": "view",
37+
"type": "function"
38+
}
39+
]
40+
}

contracts/build/ISupeRare.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"networks": {},
3-
"lastModified": 1603234879275,
3+
"lastModified": 1603253516419,
44
"code": {
55
"deployedBytecode": {
66
"linkReferences": {},
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
{
2+
"networks": {},
3+
"lastModified": 1603253483261,
4+
"code": {
5+
"deployedBytecode": {
6+
"linkReferences": {},
7+
"object": ""
8+
},
9+
"bytecode": {
10+
"linkReferences": {},
11+
"object": ""
12+
}
13+
},
14+
"abi": [
15+
{
16+
"inputs": [
17+
{
18+
"internalType": "uint256",
19+
"name": "_amount",
20+
"type": "uint256"
21+
}
22+
],
23+
"name": "calculateMarketplaceFee",
24+
"outputs": [
25+
{
26+
"internalType": "uint256",
27+
"name": "",
28+
"type": "uint256"
29+
}
30+
],
31+
"stateMutability": "view",
32+
"type": "function"
33+
},
34+
{
35+
"inputs": [
36+
{
37+
"internalType": "address",
38+
"name": "_contractAddress",
39+
"type": "address"
40+
},
41+
{
42+
"internalType": "uint256",
43+
"name": "_amount",
44+
"type": "uint256"
45+
}
46+
],
47+
"name": "calculatePrimarySaleFee",
48+
"outputs": [
49+
{
50+
"internalType": "uint256",
51+
"name": "",
52+
"type": "uint256"
53+
}
54+
],
55+
"stateMutability": "view",
56+
"type": "function"
57+
},
58+
{
59+
"inputs": [
60+
{
61+
"internalType": "address",
62+
"name": "_contractAddress",
63+
"type": "address"
64+
}
65+
],
66+
"name": "getERC721ContractPrimarySaleFeePercentage",
67+
"outputs": [
68+
{
69+
"internalType": "uint8",
70+
"name": "",
71+
"type": "uint8"
72+
}
73+
],
74+
"stateMutability": "view",
75+
"type": "function"
76+
},
77+
{
78+
"inputs": [],
79+
"name": "getMarketplaceFeePercentage",
80+
"outputs": [
81+
{
82+
"internalType": "uint8",
83+
"name": "",
84+
"type": "uint8"
85+
}
86+
],
87+
"stateMutability": "view",
88+
"type": "function"
89+
},
90+
{
91+
"inputs": [],
92+
"name": "getMarketplaceMaxValue",
93+
"outputs": [
94+
{
95+
"internalType": "uint256",
96+
"name": "",
97+
"type": "uint256"
98+
}
99+
],
100+
"stateMutability": "view",
101+
"type": "function"
102+
},
103+
{
104+
"inputs": [],
105+
"name": "getMarketplaceMinValue",
106+
"outputs": [
107+
{
108+
"internalType": "uint256",
109+
"name": "",
110+
"type": "uint256"
111+
}
112+
],
113+
"stateMutability": "view",
114+
"type": "function"
115+
},
116+
{
117+
"inputs": [
118+
{
119+
"internalType": "address",
120+
"name": "_contractAddress",
121+
"type": "address"
122+
},
123+
{
124+
"internalType": "uint256",
125+
"name": "_tokenId",
126+
"type": "uint256"
127+
}
128+
],
129+
"name": "hasERC721TokenSold",
130+
"outputs": [
131+
{
132+
"internalType": "bool",
133+
"name": "",
134+
"type": "bool"
135+
}
136+
],
137+
"stateMutability": "view",
138+
"type": "function"
139+
},
140+
{
141+
"inputs": [
142+
{
143+
"internalType": "address",
144+
"name": "_contractAddress",
145+
"type": "address"
146+
},
147+
{
148+
"internalType": "uint256",
149+
"name": "_tokenId",
150+
"type": "uint256"
151+
},
152+
{
153+
"internalType": "bool",
154+
"name": "_hasSold",
155+
"type": "bool"
156+
}
157+
],
158+
"name": "markERC721Token",
159+
"outputs": [],
160+
"stateMutability": "nonpayable",
161+
"type": "function"
162+
}
163+
]
164+
}

0 commit comments

Comments
 (0)