Skip to content

Latest commit

 

History

History

0x6229c811d04501523c6058bfaac29c91bb586268

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Contract outline - contract.sol:

contract NounsDescriptorV2 is INounsDescriptorV2, Ownable
abstract contract Ownable is Context
library Strings
interface INounsDescriptorV2 is INounsDescriptorMinimal
interface INounsSeeder
library NFTDescriptorV2
interface ISVGRenderer
interface INounsArt
interface IInflator
abstract contract Context
interface INounsDescriptorMinimal
library Inflate
library Base64

Created on Ethereum Mainnet:

  • Block 15141356 @ 2022-07-14 14:40:29 UTC (1657809629)
  • Tx Id 0x2d1785073b0eac3fefc126badf6cfee3128639a35e439dcee7255f2397e9d531
  • By 0xac56e6156c9c0c56b6d9a4e8388799f25d7feb86

nouns descriptor v2 - Contract ABI @ 0x6229c811d04501523c6058bfaac29c91bb586268

Constructor

  • constructor(contract INounsArt _art, contract ISVGRenderer _renderer)

21 Transact Functions(s)

  • function addAccessories(bytes encodedCompressed, uint80 decompressedLength, uint16 imageCount)
  • function addAccessoriesFromPointer(address pointer, uint80 decompressedLength, uint16 imageCount)
  • function addBackground(string _background)
  • function addBodies(bytes encodedCompressed, uint80 decompressedLength, uint16 imageCount)
  • function addBodiesFromPointer(address pointer, uint80 decompressedLength, uint16 imageCount)
  • function addGlasses(bytes encodedCompressed, uint80 decompressedLength, uint16 imageCount)
  • function addGlassesFromPointer(address pointer, uint80 decompressedLength, uint16 imageCount)
  • function addHeads(bytes encodedCompressed, uint80 decompressedLength, uint16 imageCount)
  • function addHeadsFromPointer(address pointer, uint80 decompressedLength, uint16 imageCount)
  • function addManyBackgrounds(string[] _backgrounds)
  • function lockParts()
  • function renounceOwnership()
  • function setArt(contract INounsArt _art)
  • function setArtDescriptor(address descriptor)
  • function setArtInflator(contract IInflator inflator)
  • function setBaseURI(string _baseURI)
  • function setPalette(uint8 paletteIndex, bytes palette)
  • function setPalettePointer(uint8 paletteIndex, address pointer)
  • function setRenderer(contract ISVGRenderer _renderer)
  • function toggleDataURIEnabled()
  • function transferOwnership(address newOwner)

22 Query Functions(s)

  • function accessories(uint256 index) ⇒ (bytes _) readonly
  • function accessoryCount() ⇒ (uint256 _) readonly
  • function arePartsLocked() ⇒ (bool _) readonly
  • function art() ⇒ (contract INounsArt _) readonly
  • function backgroundCount() ⇒ (uint256 _) readonly
  • function backgrounds(uint256 index) ⇒ (string _) readonly
  • function baseURI() ⇒ (string _) readonly
  • function bodies(uint256 index) ⇒ (bytes _) readonly
  • function bodyCount() ⇒ (uint256 _) readonly
  • function dataURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly
  • function generateSVGImage(struct INounsSeeder.Seed seed) ⇒ (string _) readonly
  • function genericDataURI(string name, string description, struct INounsSeeder.Seed seed) ⇒ (string _) readonly
  • function getPartsForSeed(struct INounsSeeder.Seed seed) ⇒ (struct ISVGRenderer.Part[] _) readonly
  • function glasses(uint256 index) ⇒ (bytes _) readonly
  • function glassesCount() ⇒ (uint256 _) readonly
  • function headCount() ⇒ (uint256 _) readonly
  • function heads(uint256 index) ⇒ (bytes _) readonly
  • function isDataURIEnabled() ⇒ (bool _) readonly
  • function owner() ⇒ (address _) readonly
  • function palettes(uint8 index) ⇒ (bytes _) readonly
  • function renderer() ⇒ (contract ISVGRenderer _) readonly
  • function tokenURI(uint256 tokenId, struct INounsSeeder.Seed seed) ⇒ (string _) readonly