1 tx
8 calls
constructor
constructor(address _bunnyMintingStationAddress, uint8 _bunnyId1, uint8 _bunnyId2, uint8 _bunnyId3)
functions
bunnyId1
viewfunction bunnyId1() view returns (uint8)
bunnyId2
viewfunction bunnyId2() view returns (uint8)
bunnyId3
viewfunction bunnyId3() view returns (uint8)
bunnyMintingStation
viewfunction bunnyMintingStation() view returns (address)
canClaim
viewfunction canClaim(uint8 _bunnyId) view returns (bool)
hasClaimed
viewfunction hasClaimed(uint8) view returns (bool)
owner
viewfunction owner() view returns (address)
mintNFT
nonpayablefunction mintNFT(address _recipient, uint8 _bunnyId)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
updateTokenURI
nonpayablefunction updateTokenURI(uint8 _bunnyId, string _newTokenURI)
events
BunnyMint
event BunnyMint(address indexed to, uint256 indexed tokenId, uint8 indexed bunnyId)
NewTokenURI
event NewTokenURI(uint8 indexed bunnyId, string tokenURI)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
No errors.
creation bytecode
0x61010060405234801561001157600080fd5b50604051610f2b380380610f2b8339818101604052608081101561003457600080fd5b508051602082015160408301516060909301519192909160006100556100f2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060609390931b6001600160601b03191660805260f891821b7fff0000000000000000000000000000000000000000000000000000000000000090811660a05290821b811660c05291901b1660e0526100f6565b3390565b60805160601c60a05160f81c60c05160f81c60e05160f81c610dd161015a6000398061045052806108335280610b3252508061042052806108035280610b0e5250806103f552806107d452806109a25250806105a4528061071f5250610dd16000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806365edc3f2116100815780639008dd881161005b5780639008dd881461026f578063d20705a014610277578063f2fde38b1461027f576100c9565b806365edc3f21461023f578063715018a61461025f5780638da5cb5b14610267576100c9565b806357d25ea4116100b257806357d25ea41461013d5780635d03706f146101ed578063646d589514610221576100c9565b80632ca47c6d146100ce57806351b3795c1461010c575b600080fd5b61010a600480360360408110156100e457600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013560ff166102b2565b005b61011461071d565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61010a6004803603604081101561015357600080fd5b60ff823516919081019060408101602082013564010000000081111561017857600080fd5b82018360208201111561018a57600080fd5b803590602001918460018302840111640100000000831117156101ac57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610741945050505050565b61020d6004803603602081101561020357600080fd5b503560ff1661098b565b604080519115158252519081900360200190f35b6102296109a0565b6040805160ff9092168252519081900360200190f35b61020d6004803603602081101561025557600080fd5b503560ff166109c4565b61010a6109f0565b610114610af0565b610229610b0c565b610229610b30565b61010a6004803603602081101561029557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b54565b6102ba610cde565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461034357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61034c816109c4565b6103b757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f557365723a204e6f7420656c696769626c650000000000000000000000000000604482015290519081900360640190fd5b60ff808216600081815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f0000000000000000000000000000000000000000000000000000000000000000909116148061044857507f000000000000000000000000000000000000000000000000000000000000000060ff168160ff16145b8061047857507f000000000000000000000000000000000000000000000000000000000000000060ff168160ff16145b6104e357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f42756e6e794964206973206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b60ff811660009081526001602081815260409283902080548451600294821615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190911693909304601f810183900483028401830190945283835260609390918301828280156105995780601f1061056e57610100808354040283529160200191610599565b820191906000526020600020905b81548152906001019060200180831161057c57829003601f168201915b5050505050905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630f85cb5a8584866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff168152602001806020018360ff168152602001828103825284818151815260200191508051906020019080838360005b8381101561065257818101518382015260200161063a565b50505050905090810190601f16801561067f5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b1580156106a057600080fd5b505af11580156106b4573d6000803e3d6000fd5b505050506040513d60208110156106ca57600080fd5b505160405190915060ff841690829073ffffffffffffffffffffffffffffffffffffffff8716907fb1c92cf8728f5d128360e6af12de11e2dd53394b274a843c34662fa6be40920790600090a450505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610749610cde565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146107d257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000060ff168260ff16148061082b57507f000000000000000000000000000000000000000000000000000000000000000060ff168260ff16145b8061085b57507f000000000000000000000000000000000000000000000000000000000000000060ff168260ff16145b6108c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f42756e6e794964206973206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b60ff8216600090815260016020908152604090912082516108e992840190610ce2565b508160ff167f793e46dbcbf99e63920b56a875b300272fbf1d96281498e4ac39210cbf1a8052826040518080602001828103825283818151815260200191508051906020019080838360005b8381101561094d578181015183820152602001610935565b50505050905090810190601f16801561097a5780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b60026020526000908152604090205460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60ff8082166000908152600260205260408120549091166109e7575060016109eb565b5060005b919050565b6109f8610cde565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a8157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b5c610cde565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610be557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d766026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610d2357805160ff1916838001178555610d50565b82800160010185558215610d50579182015b82811115610d50578251825591602001919060010190610d35565b50610d5c929150610d60565b5090565b5b80821115610d5c5760008155600101610d6156fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122094da21dc1802a6de7453df227ad70249222e05cd05e28608b7509bf4ad9f0e8164736f6c634300060c003300000000000000000000000078c2d17edb8a34fa00dd602994f16964d3fb4bab000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000001f