Skip to content

Commit da1d61e

Browse files
Fix circuit info in nft docs (#193)
1 parent 95c4a23 commit da1d61e

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

contracts/nonFungibleToken/src/NonFungibleToken.compact

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ module NonFungibleToken {
137137
/**
138138
* @description Returns the owner of the `tokenId` token.
139139
*
140-
* @circuitInfo k=10, rows=320
140+
* @circuitInfo k=10, rows=290
141141
*
142142
* Requirements:
143143
*
@@ -188,7 +188,7 @@ module NonFungibleToken {
188188
* @description Returns the token URI for the given `tokenId`. Returns the empty
189189
* string if a tokenURI does not exist.
190190
*
191-
* @circuitInfo k=10, rows=326
191+
* @circuitInfo k=10, rows=296
192192
*
193193
* Requirements:
194194
*
@@ -217,7 +217,7 @@ module NonFungibleToken {
217217
/**
218218
* @description Sets the the URI as `tokenURI` for the given `tokenId`.
219219
*
220-
* @circuitInfo k=10, rows=283
220+
* @circuitInfo k=10, rows=253
221221
*
222222
* Requirements:
223223
*
@@ -243,7 +243,7 @@ module NonFungibleToken {
243243
*
244244
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
245245
*
246-
* @circuitInfo k=10, rows=993
246+
* @circuitInfo k=10, rows=966
247247
*
248248
* Requirements:
249249
*
@@ -271,7 +271,7 @@ module NonFungibleToken {
271271
/**
272272
* @description Returns the account approved for `tokenId` token.
273273
*
274-
* @circuitInfo k=10, rows=439
274+
* @circuitInfo k=10, rows=409
275275
*
276276
* Requirements:
277277
*
@@ -292,7 +292,7 @@ module NonFungibleToken {
292292
* @description Approve or remove `operator` as an operator for the caller.
293293
* Operators can call {transferFrom} for any token owned by the caller.
294294
*
295-
* @circuitInfo k=10, rows=439
295+
* @circuitInfo k=10, rows=409
296296
*
297297
* Requirements:
298298
*
@@ -348,7 +348,7 @@ module NonFungibleToken {
348348
* are supported in Compact. This restriction prevents assets from being inadvertently locked in contracts that cannot
349349
* currently handle token receipt.
350350
*
351-
* @circuitInfo k=11, rows=2023
351+
* @circuitInfo k=11, rows=1966
352352
*
353353
* Requirements:
354354
*
@@ -382,7 +382,7 @@ module NonFungibleToken {
382382
* are not currently supported. Tokens sent to a contract address may become irretrievable.
383383
* Once contract-to-contract calls are supported, this circuit may be deprecated.
384384
*
385-
* @circuitInfo k=11, rows=2020
385+
* @circuitInfo k=11, rows=1963
386386
*
387387
* Requirements:
388388
*
@@ -460,7 +460,7 @@ module NonFungibleToken {
460460
* @description Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
461461
* particular (ignoring whether it is owned by `owner`).
462462
*
463-
* @circuitInfo k=11, rows=1128
463+
* @circuitInfo k=11, rows=1098
464464
*
465465
* Requirements:
466466
*
@@ -489,7 +489,7 @@ module NonFungibleToken {
489489
/**
490490
* @description Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
491491
*
492-
* @circuitInfo k=11, rows=1181
492+
* @circuitInfo k=11, rows=1121
493493
*
494494
* Requirements:
495495
*
@@ -520,7 +520,7 @@ module NonFungibleToken {
520520
* @description Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
521521
* (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
522522
*
523-
* @circuitInfo k=12, rows=2049
523+
* @circuitInfo k=11, rows=1959
524524
*
525525
* Requirements:
526526
*
@@ -570,7 +570,7 @@ module NonFungibleToken {
570570
/**
571571
* @description Mints `tokenId` and transfers it to `to`.
572572
*
573-
* @circuitInfo k=11, rows=1073
573+
* @circuitInfo k=11, rows=1013
574574
*
575575
* Requirements:
576576
*
@@ -596,7 +596,7 @@ module NonFungibleToken {
596596
/**
597597
* @description Mints `tokenId` and transfers it to `to`. It does NOT check if the recipient is a ContractAddress.
598598
*
599-
* @circuitInfo k=11, rows=1070
599+
* @circuitInfo k=11, rows=1010
600600
*
601601
* Requirements:
602602
*
@@ -629,7 +629,7 @@ module NonFungibleToken {
629629
* The approval is cleared when the token is burned.
630630
* This circuit does not check if the sender is authorized to operate on the token.
631631
*
632-
* @circuitInfo k=10, rows=509
632+
* @circuitInfo k=10, rows=479
633633
*
634634
* Requirements:
635635
*
@@ -653,7 +653,7 @@ module NonFungibleToken {
653653
* interactions are supported in Compact. This restriction prevents assets from being inadvertently
654654
* locked in contracts that cannot currently handle token receipt.
655655
*
656-
* @circuitInfo k=11, rows=1284
656+
* @circuitInfo k=11, rows=1224
657657
*
658658
* Requirements:
659659
*
@@ -683,7 +683,7 @@ module NonFungibleToken {
683683
* As opposed to {_unsafeTransferFrom}, this imposes no restrictions on own_public_key().
684684
* It does NOT check if the recipient is a ContractAddress.
685685
*
686-
* @circuitInfo k=11, rows=1281
686+
* @circuitInfo k=11, rows=1221
687687
*
688688
* Requirements:
689689
*
@@ -717,7 +717,7 @@ module NonFungibleToken {
717717
/**
718718
* @description Approve `to` to operate on `tokenId`
719719
*
720-
* @circuitInfo k=11, rows=1169
720+
* @circuitInfo k=11, rows=1109
721721
*
722722
* Requirements:
723723
*
@@ -749,7 +749,7 @@ module NonFungibleToken {
749749
/**
750750
* @description Approve `operator` to operate on all of `owner` tokens
751751
*
752-
* @circuitInfo k=10, rows=554
752+
* @circuitInfo k=10, rows=524
753753
*
754754
* Requirements:
755755
*
@@ -783,7 +783,7 @@ module NonFungibleToken {
783783
* @description Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
784784
* Returns the owner.
785785
*
786-
* @circuitInfo k=10, rows=318
786+
* @circuitInfo k=10, rows=288
787787
*
788788
* Requirements:
789789
*

0 commit comments

Comments
 (0)