git.delta.rocks / unique-network / refs/commits / 5a6e19099ff1

difftreelog

test evm collection properties

Yaroslav Bolyukin2022-05-17parent: #6edd3f1.patch.diff
in: master

2 files changed

addedtests/src/eth/collectionProperties.test.tsdiffbeforeafterboth

no changes

modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
130 "stateMutability": "nonpayable",130 "stateMutability": "nonpayable",
131 "type": "function"131 "type": "function"
132 },132 },
133 {
134 "inputs": [
135 {
136 "internalType": "address",
137 "name": "from",
138 "type": "address"
139 },
140 {
141 "internalType": "uint256",
142 "name": "tokenId",
143 "type": "uint256"
144 }
145 ],
146 "name": "burnFrom",
147 "outputs": [],
148 "stateMutability": "nonpayable",
149 "type": "function"
150 },
151 {
152 "inputs": [
153 {
154 "internalType": "string",
155 "name": "key",
156 "type": "string"
157 }
158 ],
159 "name": "collectionProperty",
160 "outputs": [
161 {
162 "internalType": "bytes",
163 "name": "",
164 "type": "bytes"
165 }
166 ],
167 "stateMutability": "view",
168 "type": "function"
169 },
170 {
171 "inputs": [
172 {
173 "internalType": "string",
174 "name": "key",
175 "type": "string"
176 }
177 ],
178 "name": "deleteCollectionProperty",
179 "outputs": [],
180 "stateMutability": "nonpayable",
181 "type": "function"
182 },
183 {
184 "inputs": [
185 {
186 "internalType": "uint256",
187 "name": "tokenId",
188 "type": "uint256"
189 },
190 {
191 "internalType": "string",
192 "name": "key",
193 "type": "string"
194 }
195 ],
196 "name": "deleteProperty",
197 "outputs": [],
198 "stateMutability": "nonpayable",
199 "type": "function"
200 },
133 {201 {
134 "inputs": [],202 "inputs": [],
135 "name": "finishMinting",203 "name": "finishMinting",
162 "stateMutability": "view",230 "stateMutability": "view",
163 "type": "function"231 "type": "function"
164 },232 },
165 {
166 "inputs": [
167 {
168 "internalType": "uint256",
169 "name": "tokenId",
170 "type": "uint256"
171 }
172 ],
173 "name": "getVariableMetadata",
174 "outputs": [
175 {
176 "internalType": "bytes",
177 "name": "",
178 "type": "bytes"
179 }
180 ],
181 "stateMutability": "view",
182 "type": "function"
183 },
184 {233 {
185 "inputs": [234 "inputs": [
186 {235 {
376 "stateMutability": "view",425 "stateMutability": "view",
377 "type": "function"426 "type": "function"
378 },427 },
428 {
429 "inputs": [
430 {
431 "internalType": "uint256",
432 "name": "tokenId",
433 "type": "uint256"
434 },
435 {
436 "internalType": "string",
437 "name": "key",
438 "type": "string"
439 }
440 ],
441 "name": "property",
442 "outputs": [
443 {
444 "internalType": "bytes",
445 "name": "",
446 "type": "bytes"
447 }
448 ],
449 "stateMutability": "view",
450 "type": "function"
451 },
379 {452 {
380 "inputs": [453 "inputs": [
381 {454 {
445 "stateMutability": "nonpayable",518 "stateMutability": "nonpayable",
446 "type": "function"519 "type": "function"
447 },520 },
521 {
522 "inputs": [
523 {
524 "internalType": "string",
525 "name": "key",
526 "type": "string"
527 },
528 {
529 "internalType": "bytes",
530 "name": "value",
531 "type": "bytes"
532 }
533 ],
534 "name": "setCollectionProperty",
535 "outputs": [],
536 "stateMutability": "nonpayable",
537 "type": "function"
538 },
448 {539 {
449 "inputs": [540 "inputs": [
450 {541 {
451 "internalType": "uint256",542 "internalType": "uint256",
452 "name": "tokenId",543 "name": "tokenId",
453 "type": "uint256"544 "type": "uint256"
454 },545 },
546 {
547 "internalType": "string",
548 "name": "key",
549 "type": "string"
550 },
455 {551 {
456 "internalType": "bytes",552 "internalType": "bytes",
457 "name": "data",553 "name": "value",
458 "type": "bytes"554 "type": "bytes"
459 }555 }
460 ],556 ],
461 "name": "setVariableMetadata",557 "name": "setProperty",
462 "outputs": [],558 "outputs": [],
463 "stateMutability": "nonpayable",559 "stateMutability": "nonpayable",
464 "type": "function"560 "type": "function"
465 },561 },
562 {
563 "inputs": [
564 {
565 "internalType": "string",
566 "name": "key",
567 "type": "string"
568 },
569 {
570 "internalType": "bool",
571 "name": "isMutable",
572 "type": "bool"
573 },
574 {
575 "internalType": "bool",
576 "name": "collectionAdmin",
577 "type": "bool"
578 },
579 {
580 "internalType": "bool",
581 "name": "tokenOwner",
582 "type": "bool"
583 }
584 ],
585 "name": "setTokenPropertyPermission",
586 "outputs": [],
587 "stateMutability": "nonpayable",
588 "type": "function"
589 },
466 {590 {
467 "inputs": [591 "inputs": [
468 {592 {
469 "internalType": "bytes4",593 "internalType": "bytes4",
470 "name": "interfaceId",594 "name": "interfaceID",
471 "type": "bytes4"595 "type": "bytes4"
472 }596 }
473 ],597 ],