Curta

Verified contract

Active on Base with 111 txns
Deployed by via 0x5c17a657 at 6750166
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Curta"

0x2147544728f062fd1a9db6a758076f42eaf546746b4baf74fe7a82e91fef73ec
0xac0931060e5e06ff85a6bc4be3d2b4fa7a58793cf3d0ffb1249c449eae4739ed
0xf92e70a32d01cc85236f159d4d8bbd35aa7ed57464dfba01176e02cf39e63176
0x3d56f3ebb1a893d811e09ed607db13deed2718054eb53f1ba7b651e3f11e5c00
0x6aefa0eedb2d2b360f00392ac918cfffb50d211e73cda8316e33cb1b9b0f07ff
0xbca56798f6f4e61792b04d2c66c9cd972cdb2fb5618f6ee6e195d89b4db7ffd2
0x89164e9a9a4e94988966bf0abfe3303ad757e3dd071babcea2050ca94c7fc58d
0xa7a22a61999e0feda9ed95b35e696d3f1f3634ede1dad04050de1380c03bd489
0x27480da65e10547a20aa033d81863425b6097dc28e7f22333936d31198f444c5
0x4e006205f7e8107d8d9f009fde8e0464fe369013c0d17a35af7f471c9962d9cb

Functions
Getter at block 23010825
authorshipToken(view returns (address)
0xc0ffee8b8e502403e51f37030e32c52ba4b37f7d
fermat(view returns (uint32 puzzleIduint40 timeTaken)
(puzzleId=0, timeTaken=0)
flagRenderer(view returns (address)
0xf1a900007c8b1d6266c186aa2ef0ee2e95ffca80
name(view returns (string)
Curta
owner(view returns (address)
0xa85572cd96f1643458f17340b6f0d6549af482f5
puzzleId(view returns (uint32)
9
symbol(view returns (string)
CTF
Read-only
balanceOf(address _ownerview returns (uint256)
getApproved(uint256view returns (address)
getPuzzle(uint32view returns (address puzzleuint40 addedTimestampuint40 firstSolveTimestamp)
getPuzzleAuthor(uint32view returns (address)
getPuzzleColorsAndSolves(uint32view returns (uint120 colorsuint32 phase0Solvesuint32 phase1Solvesuint32 phase2Solvesuint32 solves)
getTokenData(uint256view returns (address owneruint40 solveTimestampuint56 solveMetadata)
getUserBalances(addressview returns (uint32 phase0Solvesuint32 phase1Solvesuint32 phase2Solvesuint32 solvesuint32 balance)
hasSolvedPuzzle(addressuint32view returns (bool)
hasUsedAuthorshipToken(uint256view returns (bool)
isApprovedForAll(addressaddressview returns (bool)
ownerOf(uint256 _idview returns (address owner)
supportsInterface(bytes4 _interfaceIdpure returns (bool)
tokenURI(uint256 _tokenIdview returns (string)
State-modifying
addPuzzle(address _puzzleuint256 _tokenId
approve(address _spenderuint256 _id
safeTransferFrom(address _fromaddress _touint256 _id
safeTransferFrom(address _fromaddress _touint256 _idbytes _data
setApprovalForAll(address _operatorbool _approved
setFermat(uint32 _puzzleId
setPuzzleColors(uint32 _puzzleIduint120 _colors
solve(uint32 _puzzleIduint256 _solutionpayable 
transferFrom(address _fromaddress _touint256 _id
transferOwnership(address newOwner
Events
AddPuzzle(uint32 indexed idaddress indexed authoraddress puzzle
Approval(address indexed owneraddress indexed spenderuint256 indexed id
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
OwnershipTransferred(address indexed useraddress indexed newOwner
SolvePuzzle(uint32 indexed idaddress indexed solveruint256 solutionuint8 phase
Transfer(address indexed fromaddress indexed touint256 indexed id
UpdatePuzzleColors(uint32 indexed iduint256 colors
Constructor
constructor(address _authorshipTokenaddress _flagRenderer
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AuthorshipTokenAlreadyUsed(uint256 _tokenId
IncorrectSolution(
InsufficientFunds(
PuzzleAlreadyFermat(uint32 _puzzleId
PuzzleAlreadySolved(uint32 _puzzleId
PuzzleDoesNotExist(uint32 _puzzleId
PuzzleInvalidAddress(
PuzzleNotFermat(uint32 _puzzleId
PuzzleNotNamed(
PuzzleNotSolved(uint32 _puzzleId
SubmissionClosed(uint32 _puzzleId
Unauthorized(