Skip to content

PyroPets/KindlingCenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license

KindlingCenter

KindlingCenter is a simple smart contract that allows pyros to be played with in bulk.

Since the PyroPets contract sends all MBRS to the owner of a pyro, this contract can safely iterate over an accounts pyros and call the play(uint256) method on the PyroBase contract with the tokenId of each pyro owned by an account.

Approve the KindlingCenter for all of an accounts PYRO tokens using the setApprovalForAll(address,bool) method on the PyroBase contract and simply call playAll(), playGeneration(uint256), playForAddr(address) or playGenerationForAddr(uint256,address) method on the KindlingCenter contract to play with all of the pyros owned by the sender, or a given addresss.

Deployment Addresses

MainNet: ca3a3ab59542ffb2fe54274f3d79fd3963153e73

About

PyroPets KindlingCenter smart contract

Resources

License

Stars

Watchers

Forks