Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Contract outline - contract.sol:

abstract contract ERC721
interface ERC721TokenReceiver
abstract contract ReverseRecords
contract SyntheticPunks is ERC721
interface ISyntheticPunksAssets

Created on Ethereum Mainnet:

  • Block 14199397 @ 2022-02-13 18:27:43 UTC (1644776863)
  • Tx Id 0xfd08b691d12ff2cf05e7edccd2a311e124bffdfeb528d666c98221c93dd3d648
  • By 0x3ce6543978f37315e047236139817c1f446300e5

synth punks | synthetic punks - Contract ABI @ 0xaf9ce4b327a3b690abea6f78eccbfefffbea9fdf

Constructor

  • constructor(string _name, string _symbol, address _assetsAddress, address _withdrawAddress, address _ensReverseAddress)

2 Payable Function(s)

  • function claim() payable
  • function claimOther(address _signer, bytes _signature) payable

6 Transact Functions(s)

  • function approve(address spender, uint256 id)
  • function safeTransferFrom(address from, address to, uint256 id)
  • function safeTransferFrom(address from, address to, uint256 id, bytes data)
  • function setApprovalForAll(address operator, bool approved)
  • function transferFrom(address from, address to, uint256 id)
  • function withdraw()

20 Query Functions(s)

  • function _getAttributes(address _address) ⇒ (uint256[] _) readonly
  • function _tokenURI(address _address) ⇒ (string _) readonly
  • function assets() ⇒ (contract ISyntheticPunksAssets _) readonly
  • function balanceOf(address _) ⇒ (uint256 _) readonly
  • function claimMessage() ⇒ (string _) readonly
  • function claimPrice() ⇒ (uint256 _) readonly
  • function claimed(address _) ⇒ (bool _) readonly
  • function generatePunkSVG(uint256[] layers) ⇒ (string _) readonly
  • function getApproved(uint256 _) ⇒ (address _) readonly
  • function getAttribute(uint256 id, uint256 _attributeId) ⇒ (uint256 _) readonly
  • function getAttributeCategories(uint256 id) ⇒ (uint256[] _) readonly
  • function getAttributes(uint256 id) ⇒ (uint256[] _) readonly
  • function getGender(uint256 id) ⇒ (enum SyntheticPunks.Gender _) readonly
  • function isApprovedForAll(address _, address _) ⇒ (bool _) readonly
  • function name() ⇒ (string _) readonly
  • function ownerOf(uint256 _) ⇒ (address _) readonly
  • function randomUint(uint256 seed, uint256 offset) ⇒ (uint256 _) readonly
  • function symbol() ⇒ (string _) readonly
  • function tokenURI(uint256 id) ⇒ (string _) readonly
  • function withdrawAddress() ⇒ (address _) readonly

8 Helper Functions(s)

  • function getAddress(uint256 id) ⇒ (address _)
  • function getEthSignedMessageHash(bytes32 _messageHash) ⇒ (bytes32 _)
  • function getMessageHash(string _message) ⇒ (bytes32 _)
  • function getTokenID(address _address) ⇒ (uint256 _)
  • function recoverSigner(bytes32 _ethSignedMessageHash, bytes _signature) ⇒ (address _)
  • function splitSignature(bytes sig) ⇒ (bytes32 r, bytes32 s, uint8 v)
  • function supportsInterface(bytes4 interfaceId) ⇒ (bool _)
  • function verify(address _signer, string _message, bytes signature) ⇒ (bool _)