Documentation
¶
Overview ¶
Package fans details the actions of each crazed fan
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fan ¶
type Fan struct { ID string Name string Wallet *client.Wallet PrivateKey *ecdsa.PrivateKey Address common.Address CrazedLevel int // contains filtered or unexported fields }
Fan is an NFT fan that searches for the NFT by incessantly bumping gas
func (*Fan) IsSearching ¶
IsSearching indicates if the fan is currently in the midst of searching for an NFT
func (*Fan) StopSearch ¶
func (f *Fan) StopSearch()
StopSearch halts the fan if it is currently searching for the NFT
type FanPresident ¶
type FanPresident struct {
// contains filtered or unexported fields
}
FanPresident controls the meta behaviors of fans, creating new ones, and directing their activity
func NewPresident ¶
func NewPresident() (*FanPresident, error)
NewPresident creates a new president. Only can be used once
func (*FanPresident) DeployGasGuzzlers ¶ added in v0.0.2
func (fp *FanPresident) DeployGasGuzzlers(count int) error
DeployGasGuzzlers deploys a specified number of gas guzzle contracts, waiting for them all to get on chain to move on
func (*FanPresident) Fans ¶
func (fp *FanPresident) Fans() []*Fan
Fans retrieves all the current fans
func (*FanPresident) FundFans ¶
func (fp *FanPresident) FundFans(etherAmount *big.Float)
FundFans sends a specified amount of ether to all current fans
func (*FanPresident) GasGuzzlers ¶ added in v0.0.2
func (fp *FanPresident) GasGuzzlers() []*guzzle.Guzzle
GasGuzzlers retrieves all active gas guzzling contracts
func (*FanPresident) NewFans ¶
func (fp *FanPresident) NewFans(count int) error
NewFans generates a specified number of new fans