auction

package
v1.7.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const AuctionABI = "" /* 13968-byte string literal not displayed */

AuctionABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auction added in v1.6.0

type Auction struct {
	AuctionCaller     // Read-only binding to the contract
	AuctionTransactor // Write-only binding to the contract
	AuctionFilterer   // Log filterer for contract events
}

Auction is an auto generated Go binding around an Ethereum contract.

func NewAuction added in v1.6.0

func NewAuction(address common.Address, backend bind.ContractBackend) (*Auction, error)

NewAuction creates a new instance of Auction, bound to a specific deployed contract.

type AuctionCaller added in v1.6.0

type AuctionCaller struct {
	// contains filtered or unexported fields
}

AuctionCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewAuctionCaller added in v1.6.0

func NewAuctionCaller(address common.Address, caller bind.ContractCaller) (*AuctionCaller, error)

NewAuctionCaller creates a new read-only instance of Auction, bound to a specific deployed contract.

func (*AuctionCaller) BLOCKSPERSLOT added in v1.6.0

func (_Auction *AuctionCaller) BLOCKSPERSLOT(opts *bind.CallOpts) (uint8, error)

BLOCKSPERSLOT is a free data retrieval call binding the contract method 0x2243de47.

Solidity: function BLOCKS_PER_SLOT() view returns(uint8)

func (*AuctionCaller) BootCoordinatorURL added in v1.6.0

func (_Auction *AuctionCaller) BootCoordinatorURL(opts *bind.CallOpts) (string, error)

BootCoordinatorURL is a free data retrieval call binding the contract method 0x72ca58a3.

Solidity: function bootCoordinatorURL() view returns(string)

func (*AuctionCaller) CanForge added in v1.6.0

func (_Auction *AuctionCaller) CanForge(opts *bind.CallOpts, forger common.Address, blockNumber *big.Int) (bool, error)

CanForge is a free data retrieval call binding the contract method 0x83b1f6a0.

Solidity: function canForge(address forger, uint256 blockNumber) view returns(bool)

func (*AuctionCaller) Coordinators added in v1.6.0

func (_Auction *AuctionCaller) Coordinators(opts *bind.CallOpts, arg0 common.Address) (struct {
	Forger         common.Address
	CoordinatorURL string
}, error)

Coordinators is a free data retrieval call binding the contract method 0xa48af096.

Solidity: function coordinators(address ) view returns(address forger, string coordinatorURL)

func (*AuctionCaller) GenesisBlock added in v1.6.0

func (_Auction *AuctionCaller) GenesisBlock(opts *bind.CallOpts) (*big.Int, error)

GenesisBlock is a free data retrieval call binding the contract method 0x4cdc9c63.

Solidity: function genesisBlock() view returns(uint128)

func (*AuctionCaller) GetAllocationRatio added in v1.6.0

func (_Auction *AuctionCaller) GetAllocationRatio(opts *bind.CallOpts) ([3]uint16, error)

GetAllocationRatio is a free data retrieval call binding the contract method 0xec29159b.

Solidity: function getAllocationRatio() view returns(uint16[3])

func (*AuctionCaller) GetBootCoordinator added in v1.6.0

func (_Auction *AuctionCaller) GetBootCoordinator(opts *bind.CallOpts) (common.Address, error)

GetBootCoordinator is a free data retrieval call binding the contract method 0xb5f7f2f0.

Solidity: function getBootCoordinator() view returns(address)

func (*AuctionCaller) GetClaimableHEZ added in v1.6.0

func (_Auction *AuctionCaller) GetClaimableHEZ(opts *bind.CallOpts, bidder common.Address) (*big.Int, error)

GetClaimableHEZ is a free data retrieval call binding the contract method 0x5cca4903.

Solidity: function getClaimableHEZ(address bidder) view returns(uint128)

func (*AuctionCaller) GetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionCaller) GetClosedAuctionSlots(opts *bind.CallOpts) (uint16, error)

GetClosedAuctionSlots is a free data retrieval call binding the contract method 0x4da9639d.

Solidity: function getClosedAuctionSlots() view returns(uint16)

func (*AuctionCaller) GetCurrentSlotNumber added in v1.6.0

func (_Auction *AuctionCaller) GetCurrentSlotNumber(opts *bind.CallOpts) (*big.Int, error)

GetCurrentSlotNumber is a free data retrieval call binding the contract method 0x0c4da4f6.

Solidity: function getCurrentSlotNumber() view returns(uint128)

func (*AuctionCaller) GetDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionCaller) GetDefaultSlotSetBid(opts *bind.CallOpts, slotSet uint8) (*big.Int, error)

GetDefaultSlotSetBid is a free data retrieval call binding the contract method 0x564e6a71.

Solidity: function getDefaultSlotSetBid(uint8 slotSet) view returns(uint128)

func (*AuctionCaller) GetDonationAddress added in v1.6.0

func (_Auction *AuctionCaller) GetDonationAddress(opts *bind.CallOpts) (common.Address, error)

GetDonationAddress is a free data retrieval call binding the contract method 0x54c03ab7.

Solidity: function getDonationAddress() view returns(address)

func (*AuctionCaller) GetMinBidBySlot added in v1.6.0

func (_Auction *AuctionCaller) GetMinBidBySlot(opts *bind.CallOpts, slot *big.Int) (*big.Int, error)

GetMinBidBySlot is a free data retrieval call binding the contract method 0x37d1bd0b.

Solidity: function getMinBidBySlot(uint128 slot) view returns(uint128)

func (*AuctionCaller) GetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionCaller) GetOpenAuctionSlots(opts *bind.CallOpts) (uint16, error)

GetOpenAuctionSlots is a free data retrieval call binding the contract method 0xac4b9012.

Solidity: function getOpenAuctionSlots() view returns(uint16)

func (*AuctionCaller) GetOutbidding added in v1.6.0

func (_Auction *AuctionCaller) GetOutbidding(opts *bind.CallOpts) (uint16, error)

GetOutbidding is a free data retrieval call binding the contract method 0x55b442e6.

Solidity: function getOutbidding() view returns(uint16)

func (*AuctionCaller) GetSlotDeadline added in v1.6.0

func (_Auction *AuctionCaller) GetSlotDeadline(opts *bind.CallOpts) (uint8, error)

GetSlotDeadline is a free data retrieval call binding the contract method 0x13de9af2.

Solidity: function getSlotDeadline() view returns(uint8)

func (*AuctionCaller) GetSlotNumber added in v1.6.0

func (_Auction *AuctionCaller) GetSlotNumber(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

GetSlotNumber is a free data retrieval call binding the contract method 0xb3dc7bb1.

Solidity: function getSlotNumber(uint128 blockNumber) view returns(uint128)

func (*AuctionCaller) GetSlotSet added in v1.6.0

func (_Auction *AuctionCaller) GetSlotSet(opts *bind.CallOpts, slot *big.Int) (*big.Int, error)

GetSlotSet is a free data retrieval call binding the contract method 0xac5f658b.

Solidity: function getSlotSet(uint128 slot) view returns(uint128)

func (*AuctionCaller) GovernanceAddress added in v1.6.0

func (_Auction *AuctionCaller) GovernanceAddress(opts *bind.CallOpts) (common.Address, error)

GovernanceAddress is a free data retrieval call binding the contract method 0x795053d3.

Solidity: function governanceAddress() view returns(address)

func (*AuctionCaller) HermezRollup added in v1.6.0

func (_Auction *AuctionCaller) HermezRollup(opts *bind.CallOpts) (common.Address, error)

HermezRollup is a free data retrieval call binding the contract method 0xaebd6d98.

Solidity: function hermezRollup() view returns(address)

func (*AuctionCaller) INITIALMINIMALBIDDING added in v1.6.0

func (_Auction *AuctionCaller) INITIALMINIMALBIDDING(opts *bind.CallOpts) (*big.Int, error)

INITIALMINIMALBIDDING is a free data retrieval call binding the contract method 0xe6065914.

Solidity: function INITIAL_MINIMAL_BIDDING() view returns(uint128)

func (*AuctionCaller) PendingBalances added in v1.6.0

func (_Auction *AuctionCaller) PendingBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

PendingBalances is a free data retrieval call binding the contract method 0xecdae41b.

Solidity: function pendingBalances(address ) view returns(uint128)

func (*AuctionCaller) Slots added in v1.6.0

func (_Auction *AuctionCaller) Slots(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bidder           common.Address
	Fulfilled        bool
	ForgerCommitment bool
	BidAmount        *big.Int
	ClosedMinBid     *big.Int
}, error)

Slots is a free data retrieval call binding the contract method 0xbc415567.

Solidity: function slots(uint128 ) view returns(address bidder, bool fulfilled, bool forgerCommitment, uint128 bidAmount, uint128 closedMinBid)

func (*AuctionCaller) TokenHEZ added in v1.6.0

func (_Auction *AuctionCaller) TokenHEZ(opts *bind.CallOpts) (common.Address, error)

TokenHEZ is a free data retrieval call binding the contract method 0x79a135e3.

Solidity: function tokenHEZ() view returns(address)

type AuctionCallerRaw added in v1.6.0

type AuctionCallerRaw struct {
	Contract *AuctionCaller // Generic read-only contract binding to access the raw methods on
}

AuctionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AuctionCallerRaw) Call added in v1.6.0

func (_Auction *AuctionCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type AuctionCallerSession added in v1.6.0

type AuctionCallerSession struct {
	Contract *AuctionCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

AuctionCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*AuctionCallerSession) BLOCKSPERSLOT added in v1.6.0

func (_Auction *AuctionCallerSession) BLOCKSPERSLOT() (uint8, error)

BLOCKSPERSLOT is a free data retrieval call binding the contract method 0x2243de47.

Solidity: function BLOCKS_PER_SLOT() view returns(uint8)

func (*AuctionCallerSession) BootCoordinatorURL added in v1.6.0

func (_Auction *AuctionCallerSession) BootCoordinatorURL() (string, error)

BootCoordinatorURL is a free data retrieval call binding the contract method 0x72ca58a3.

Solidity: function bootCoordinatorURL() view returns(string)

func (*AuctionCallerSession) CanForge added in v1.6.0

func (_Auction *AuctionCallerSession) CanForge(forger common.Address, blockNumber *big.Int) (bool, error)

CanForge is a free data retrieval call binding the contract method 0x83b1f6a0.

Solidity: function canForge(address forger, uint256 blockNumber) view returns(bool)

func (*AuctionCallerSession) Coordinators added in v1.6.0

func (_Auction *AuctionCallerSession) Coordinators(arg0 common.Address) (struct {
	Forger         common.Address
	CoordinatorURL string
}, error)

Coordinators is a free data retrieval call binding the contract method 0xa48af096.

Solidity: function coordinators(address ) view returns(address forger, string coordinatorURL)

func (*AuctionCallerSession) GenesisBlock added in v1.6.0

func (_Auction *AuctionCallerSession) GenesisBlock() (*big.Int, error)

GenesisBlock is a free data retrieval call binding the contract method 0x4cdc9c63.

Solidity: function genesisBlock() view returns(uint128)

func (*AuctionCallerSession) GetAllocationRatio added in v1.6.0

func (_Auction *AuctionCallerSession) GetAllocationRatio() ([3]uint16, error)

GetAllocationRatio is a free data retrieval call binding the contract method 0xec29159b.

Solidity: function getAllocationRatio() view returns(uint16[3])

func (*AuctionCallerSession) GetBootCoordinator added in v1.6.0

func (_Auction *AuctionCallerSession) GetBootCoordinator() (common.Address, error)

GetBootCoordinator is a free data retrieval call binding the contract method 0xb5f7f2f0.

Solidity: function getBootCoordinator() view returns(address)

func (*AuctionCallerSession) GetClaimableHEZ added in v1.6.0

func (_Auction *AuctionCallerSession) GetClaimableHEZ(bidder common.Address) (*big.Int, error)

GetClaimableHEZ is a free data retrieval call binding the contract method 0x5cca4903.

Solidity: function getClaimableHEZ(address bidder) view returns(uint128)

func (*AuctionCallerSession) GetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionCallerSession) GetClosedAuctionSlots() (uint16, error)

GetClosedAuctionSlots is a free data retrieval call binding the contract method 0x4da9639d.

Solidity: function getClosedAuctionSlots() view returns(uint16)

func (*AuctionCallerSession) GetCurrentSlotNumber added in v1.6.0

func (_Auction *AuctionCallerSession) GetCurrentSlotNumber() (*big.Int, error)

GetCurrentSlotNumber is a free data retrieval call binding the contract method 0x0c4da4f6.

Solidity: function getCurrentSlotNumber() view returns(uint128)

func (*AuctionCallerSession) GetDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionCallerSession) GetDefaultSlotSetBid(slotSet uint8) (*big.Int, error)

GetDefaultSlotSetBid is a free data retrieval call binding the contract method 0x564e6a71.

Solidity: function getDefaultSlotSetBid(uint8 slotSet) view returns(uint128)

func (*AuctionCallerSession) GetDonationAddress added in v1.6.0

func (_Auction *AuctionCallerSession) GetDonationAddress() (common.Address, error)

GetDonationAddress is a free data retrieval call binding the contract method 0x54c03ab7.

Solidity: function getDonationAddress() view returns(address)

func (*AuctionCallerSession) GetMinBidBySlot added in v1.6.0

func (_Auction *AuctionCallerSession) GetMinBidBySlot(slot *big.Int) (*big.Int, error)

GetMinBidBySlot is a free data retrieval call binding the contract method 0x37d1bd0b.

Solidity: function getMinBidBySlot(uint128 slot) view returns(uint128)

func (*AuctionCallerSession) GetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionCallerSession) GetOpenAuctionSlots() (uint16, error)

GetOpenAuctionSlots is a free data retrieval call binding the contract method 0xac4b9012.

Solidity: function getOpenAuctionSlots() view returns(uint16)

func (*AuctionCallerSession) GetOutbidding added in v1.6.0

func (_Auction *AuctionCallerSession) GetOutbidding() (uint16, error)

GetOutbidding is a free data retrieval call binding the contract method 0x55b442e6.

Solidity: function getOutbidding() view returns(uint16)

func (*AuctionCallerSession) GetSlotDeadline added in v1.6.0

func (_Auction *AuctionCallerSession) GetSlotDeadline() (uint8, error)

GetSlotDeadline is a free data retrieval call binding the contract method 0x13de9af2.

Solidity: function getSlotDeadline() view returns(uint8)

func (*AuctionCallerSession) GetSlotNumber added in v1.6.0

func (_Auction *AuctionCallerSession) GetSlotNumber(blockNumber *big.Int) (*big.Int, error)

GetSlotNumber is a free data retrieval call binding the contract method 0xb3dc7bb1.

Solidity: function getSlotNumber(uint128 blockNumber) view returns(uint128)

func (*AuctionCallerSession) GetSlotSet added in v1.6.0

func (_Auction *AuctionCallerSession) GetSlotSet(slot *big.Int) (*big.Int, error)

GetSlotSet is a free data retrieval call binding the contract method 0xac5f658b.

Solidity: function getSlotSet(uint128 slot) view returns(uint128)

func (*AuctionCallerSession) GovernanceAddress added in v1.6.0

func (_Auction *AuctionCallerSession) GovernanceAddress() (common.Address, error)

GovernanceAddress is a free data retrieval call binding the contract method 0x795053d3.

Solidity: function governanceAddress() view returns(address)

func (*AuctionCallerSession) HermezRollup added in v1.6.0

func (_Auction *AuctionCallerSession) HermezRollup() (common.Address, error)

HermezRollup is a free data retrieval call binding the contract method 0xaebd6d98.

Solidity: function hermezRollup() view returns(address)

func (*AuctionCallerSession) INITIALMINIMALBIDDING added in v1.6.0

func (_Auction *AuctionCallerSession) INITIALMINIMALBIDDING() (*big.Int, error)

INITIALMINIMALBIDDING is a free data retrieval call binding the contract method 0xe6065914.

Solidity: function INITIAL_MINIMAL_BIDDING() view returns(uint128)

func (*AuctionCallerSession) PendingBalances added in v1.6.0

func (_Auction *AuctionCallerSession) PendingBalances(arg0 common.Address) (*big.Int, error)

PendingBalances is a free data retrieval call binding the contract method 0xecdae41b.

Solidity: function pendingBalances(address ) view returns(uint128)

func (*AuctionCallerSession) Slots added in v1.6.0

func (_Auction *AuctionCallerSession) Slots(arg0 *big.Int) (struct {
	Bidder           common.Address
	Fulfilled        bool
	ForgerCommitment bool
	BidAmount        *big.Int
	ClosedMinBid     *big.Int
}, error)

Slots is a free data retrieval call binding the contract method 0xbc415567.

Solidity: function slots(uint128 ) view returns(address bidder, bool fulfilled, bool forgerCommitment, uint128 bidAmount, uint128 closedMinBid)

func (*AuctionCallerSession) TokenHEZ added in v1.6.0

func (_Auction *AuctionCallerSession) TokenHEZ() (common.Address, error)

TokenHEZ is a free data retrieval call binding the contract method 0x79a135e3.

Solidity: function tokenHEZ() view returns(address)

type AuctionFilterer added in v1.6.0

type AuctionFilterer struct {
	// contains filtered or unexported fields
}

AuctionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAuctionFilterer added in v1.6.0

func NewAuctionFilterer(address common.Address, filterer bind.ContractFilterer) (*AuctionFilterer, error)

NewAuctionFilterer creates a new log filterer instance of Auction, bound to a specific deployed contract.

func (*AuctionFilterer) FilterHEZClaimed added in v1.6.0

func (_Auction *AuctionFilterer) FilterHEZClaimed(opts *bind.FilterOpts, owner []common.Address) (*AuctionHEZClaimedIterator, error)

FilterHEZClaimed is a free log retrieval operation binding the contract event 0x199ef0cb54d2b296ff6eaec2721bacf0ca3fd8344a43f5bdf4548b34dfa2594f.

Solidity: event HEZClaimed(address indexed owner, uint128 amount)

func (*AuctionFilterer) FilterInitializeHermezAuctionProtocolEvent added in v1.6.0

func (_Auction *AuctionFilterer) FilterInitializeHermezAuctionProtocolEvent(opts *bind.FilterOpts) (*AuctionInitializeHermezAuctionProtocolEventIterator, error)

FilterInitializeHermezAuctionProtocolEvent is a free log retrieval operation binding the contract event 0x9717e4e04c13817c600463a7a450110c754fd78758cdd538603f30528a24ce4b.

Solidity: event InitializeHermezAuctionProtocolEvent(address donationAddress, address bootCoordinatorAddress, string bootCoordinatorURL, uint16 outbidding, uint8 slotDeadline, uint16 closedAuctionSlots, uint16 openAuctionSlots, uint16[3] allocationRatio)

func (*AuctionFilterer) FilterNewAllocationRatio added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewAllocationRatio(opts *bind.FilterOpts) (*AuctionNewAllocationRatioIterator, error)

FilterNewAllocationRatio is a free log retrieval operation binding the contract event 0x0bb59eceb12f1bdb63e4a7d57c70d6473fefd7c3f51af5a3604f7e97197073e4.

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*AuctionFilterer) FilterNewBid added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewBid(opts *bind.FilterOpts, slot []*big.Int, bidder []common.Address) (*AuctionNewBidIterator, error)

FilterNewBid is a free log retrieval operation binding the contract event 0xd48e8329cdb2fb109b4fe445d7b681a74b256bff16e6f7f33b9d4fbe9038e433.

Solidity: event NewBid(uint128 indexed slot, uint128 bidAmount, address indexed bidder)

func (*AuctionFilterer) FilterNewBootCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewBootCoordinator(opts *bind.FilterOpts, newBootCoordinator []common.Address) (*AuctionNewBootCoordinatorIterator, error)

FilterNewBootCoordinator is a free log retrieval operation binding the contract event 0x0487eab4c1da34bf653268e33bee8bfec7dacfd6f3226047197ebf872293cfd6.

Solidity: event NewBootCoordinator(address indexed newBootCoordinator, string newBootCoordinatorURL)

func (*AuctionFilterer) FilterNewClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewClosedAuctionSlots(opts *bind.FilterOpts) (*AuctionNewClosedAuctionSlotsIterator, error)

FilterNewClosedAuctionSlots is a free log retrieval operation binding the contract event 0xc78051d3757db196b1e445f3a9a1380944518c69b5d7922ec747c54f0340a4ea.

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*AuctionFilterer) FilterNewDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewDefaultSlotSetBid(opts *bind.FilterOpts) (*AuctionNewDefaultSlotSetBidIterator, error)

FilterNewDefaultSlotSetBid is a free log retrieval operation binding the contract event 0xa922aa010d1ff8e70b2aa9247d891836795c3d3ba2a543c37c91a44dc4a50172.

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*AuctionFilterer) FilterNewDonationAddress added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewDonationAddress(opts *bind.FilterOpts, newDonationAddress []common.Address) (*AuctionNewDonationAddressIterator, error)

FilterNewDonationAddress is a free log retrieval operation binding the contract event 0xa62863cbad1647a2855e9cd39d04fa6dfd32e1b9cfaff1aaf6523f4aaafeccd7.

Solidity: event NewDonationAddress(address indexed newDonationAddress)

func (*AuctionFilterer) FilterNewForge added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewForge(opts *bind.FilterOpts, forger []common.Address, slotToForge []*big.Int) (*AuctionNewForgeIterator, error)

FilterNewForge is a free log retrieval operation binding the contract event 0x7cae662d4cfa9d9c5575c65f0cc41a858c51ca14ebcbd02a802a62376c3ad238.

Solidity: event NewForge(address indexed forger, uint128 indexed slotToForge)

func (*AuctionFilterer) FilterNewForgeAllocated added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewForgeAllocated(opts *bind.FilterOpts, bidder []common.Address, forger []common.Address, slotToForge []*big.Int) (*AuctionNewForgeAllocatedIterator, error)

FilterNewForgeAllocated is a free log retrieval operation binding the contract event 0xd64ebb43f4c2b91022b97389834432f1027ef55586129ba05a3a3065b2304f05.

Solidity: event NewForgeAllocated(address indexed bidder, address indexed forger, uint128 indexed slotToForge, uint128 burnAmount, uint128 donationAmount, uint128 governanceAmount)

func (*AuctionFilterer) FilterNewOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewOpenAuctionSlots(opts *bind.FilterOpts) (*AuctionNewOpenAuctionSlotsIterator, error)

FilterNewOpenAuctionSlots is a free log retrieval operation binding the contract event 0x3da0492dea7298351bc14d1c0699905fd0657c33487449751af50fc0c8b593f1.

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*AuctionFilterer) FilterNewOutbidding added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewOutbidding(opts *bind.FilterOpts) (*AuctionNewOutbiddingIterator, error)

FilterNewOutbidding is a free log retrieval operation binding the contract event 0xd3748b8c326e93d12af934fbf87471e315a89bc3f7b8222343acf0210edf248e.

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*AuctionFilterer) FilterNewSlotDeadline added in v1.6.0

func (_Auction *AuctionFilterer) FilterNewSlotDeadline(opts *bind.FilterOpts) (*AuctionNewSlotDeadlineIterator, error)

FilterNewSlotDeadline is a free log retrieval operation binding the contract event 0x4a0d90b611c15e02dbf23b10f35b936cf2c77665f8c77822d3eca131f9d986d3.

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*AuctionFilterer) FilterSetCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) FilterSetCoordinator(opts *bind.FilterOpts, bidder []common.Address, forger []common.Address) (*AuctionSetCoordinatorIterator, error)

FilterSetCoordinator is a free log retrieval operation binding the contract event 0x5246b2ac9ee77efe2e64af6df00055d97e2d6e1b277f5a8d17ba5bca1a573da0.

Solidity: event SetCoordinator(address indexed bidder, address indexed forger, string coordinatorURL)

func (*AuctionFilterer) ParseHEZClaimed added in v1.6.0

func (_Auction *AuctionFilterer) ParseHEZClaimed(log types.Log) (*AuctionHEZClaimed, error)

ParseHEZClaimed is a log parse operation binding the contract event 0x199ef0cb54d2b296ff6eaec2721bacf0ca3fd8344a43f5bdf4548b34dfa2594f.

Solidity: event HEZClaimed(address indexed owner, uint128 amount)

func (*AuctionFilterer) ParseInitializeHermezAuctionProtocolEvent added in v1.6.0

func (_Auction *AuctionFilterer) ParseInitializeHermezAuctionProtocolEvent(log types.Log) (*AuctionInitializeHermezAuctionProtocolEvent, error)

ParseInitializeHermezAuctionProtocolEvent is a log parse operation binding the contract event 0x9717e4e04c13817c600463a7a450110c754fd78758cdd538603f30528a24ce4b.

Solidity: event InitializeHermezAuctionProtocolEvent(address donationAddress, address bootCoordinatorAddress, string bootCoordinatorURL, uint16 outbidding, uint8 slotDeadline, uint16 closedAuctionSlots, uint16 openAuctionSlots, uint16[3] allocationRatio)

func (*AuctionFilterer) ParseNewAllocationRatio added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewAllocationRatio(log types.Log) (*AuctionNewAllocationRatio, error)

ParseNewAllocationRatio is a log parse operation binding the contract event 0x0bb59eceb12f1bdb63e4a7d57c70d6473fefd7c3f51af5a3604f7e97197073e4.

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*AuctionFilterer) ParseNewBid added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewBid(log types.Log) (*AuctionNewBid, error)

ParseNewBid is a log parse operation binding the contract event 0xd48e8329cdb2fb109b4fe445d7b681a74b256bff16e6f7f33b9d4fbe9038e433.

Solidity: event NewBid(uint128 indexed slot, uint128 bidAmount, address indexed bidder)

func (*AuctionFilterer) ParseNewBootCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewBootCoordinator(log types.Log) (*AuctionNewBootCoordinator, error)

ParseNewBootCoordinator is a log parse operation binding the contract event 0x0487eab4c1da34bf653268e33bee8bfec7dacfd6f3226047197ebf872293cfd6.

Solidity: event NewBootCoordinator(address indexed newBootCoordinator, string newBootCoordinatorURL)

func (*AuctionFilterer) ParseNewClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewClosedAuctionSlots(log types.Log) (*AuctionNewClosedAuctionSlots, error)

ParseNewClosedAuctionSlots is a log parse operation binding the contract event 0xc78051d3757db196b1e445f3a9a1380944518c69b5d7922ec747c54f0340a4ea.

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*AuctionFilterer) ParseNewDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewDefaultSlotSetBid(log types.Log) (*AuctionNewDefaultSlotSetBid, error)

ParseNewDefaultSlotSetBid is a log parse operation binding the contract event 0xa922aa010d1ff8e70b2aa9247d891836795c3d3ba2a543c37c91a44dc4a50172.

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*AuctionFilterer) ParseNewDonationAddress added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewDonationAddress(log types.Log) (*AuctionNewDonationAddress, error)

ParseNewDonationAddress is a log parse operation binding the contract event 0xa62863cbad1647a2855e9cd39d04fa6dfd32e1b9cfaff1aaf6523f4aaafeccd7.

Solidity: event NewDonationAddress(address indexed newDonationAddress)

func (*AuctionFilterer) ParseNewForge added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewForge(log types.Log) (*AuctionNewForge, error)

ParseNewForge is a log parse operation binding the contract event 0x7cae662d4cfa9d9c5575c65f0cc41a858c51ca14ebcbd02a802a62376c3ad238.

Solidity: event NewForge(address indexed forger, uint128 indexed slotToForge)

func (*AuctionFilterer) ParseNewForgeAllocated added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewForgeAllocated(log types.Log) (*AuctionNewForgeAllocated, error)

ParseNewForgeAllocated is a log parse operation binding the contract event 0xd64ebb43f4c2b91022b97389834432f1027ef55586129ba05a3a3065b2304f05.

Solidity: event NewForgeAllocated(address indexed bidder, address indexed forger, uint128 indexed slotToForge, uint128 burnAmount, uint128 donationAmount, uint128 governanceAmount)

func (*AuctionFilterer) ParseNewOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewOpenAuctionSlots(log types.Log) (*AuctionNewOpenAuctionSlots, error)

ParseNewOpenAuctionSlots is a log parse operation binding the contract event 0x3da0492dea7298351bc14d1c0699905fd0657c33487449751af50fc0c8b593f1.

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*AuctionFilterer) ParseNewOutbidding added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewOutbidding(log types.Log) (*AuctionNewOutbidding, error)

ParseNewOutbidding is a log parse operation binding the contract event 0xd3748b8c326e93d12af934fbf87471e315a89bc3f7b8222343acf0210edf248e.

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*AuctionFilterer) ParseNewSlotDeadline added in v1.6.0

func (_Auction *AuctionFilterer) ParseNewSlotDeadline(log types.Log) (*AuctionNewSlotDeadline, error)

ParseNewSlotDeadline is a log parse operation binding the contract event 0x4a0d90b611c15e02dbf23b10f35b936cf2c77665f8c77822d3eca131f9d986d3.

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*AuctionFilterer) ParseSetCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) ParseSetCoordinator(log types.Log) (*AuctionSetCoordinator, error)

ParseSetCoordinator is a log parse operation binding the contract event 0x5246b2ac9ee77efe2e64af6df00055d97e2d6e1b277f5a8d17ba5bca1a573da0.

Solidity: event SetCoordinator(address indexed bidder, address indexed forger, string coordinatorURL)

func (*AuctionFilterer) WatchHEZClaimed added in v1.6.0

func (_Auction *AuctionFilterer) WatchHEZClaimed(opts *bind.WatchOpts, sink chan<- *AuctionHEZClaimed, owner []common.Address) (event.Subscription, error)

WatchHEZClaimed is a free log subscription operation binding the contract event 0x199ef0cb54d2b296ff6eaec2721bacf0ca3fd8344a43f5bdf4548b34dfa2594f.

Solidity: event HEZClaimed(address indexed owner, uint128 amount)

func (*AuctionFilterer) WatchInitializeHermezAuctionProtocolEvent added in v1.6.0

func (_Auction *AuctionFilterer) WatchInitializeHermezAuctionProtocolEvent(opts *bind.WatchOpts, sink chan<- *AuctionInitializeHermezAuctionProtocolEvent) (event.Subscription, error)

WatchInitializeHermezAuctionProtocolEvent is a free log subscription operation binding the contract event 0x9717e4e04c13817c600463a7a450110c754fd78758cdd538603f30528a24ce4b.

Solidity: event InitializeHermezAuctionProtocolEvent(address donationAddress, address bootCoordinatorAddress, string bootCoordinatorURL, uint16 outbidding, uint8 slotDeadline, uint16 closedAuctionSlots, uint16 openAuctionSlots, uint16[3] allocationRatio)

func (*AuctionFilterer) WatchNewAllocationRatio added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewAllocationRatio(opts *bind.WatchOpts, sink chan<- *AuctionNewAllocationRatio) (event.Subscription, error)

WatchNewAllocationRatio is a free log subscription operation binding the contract event 0x0bb59eceb12f1bdb63e4a7d57c70d6473fefd7c3f51af5a3604f7e97197073e4.

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*AuctionFilterer) WatchNewBid added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewBid(opts *bind.WatchOpts, sink chan<- *AuctionNewBid, slot []*big.Int, bidder []common.Address) (event.Subscription, error)

WatchNewBid is a free log subscription operation binding the contract event 0xd48e8329cdb2fb109b4fe445d7b681a74b256bff16e6f7f33b9d4fbe9038e433.

Solidity: event NewBid(uint128 indexed slot, uint128 bidAmount, address indexed bidder)

func (*AuctionFilterer) WatchNewBootCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewBootCoordinator(opts *bind.WatchOpts, sink chan<- *AuctionNewBootCoordinator, newBootCoordinator []common.Address) (event.Subscription, error)

WatchNewBootCoordinator is a free log subscription operation binding the contract event 0x0487eab4c1da34bf653268e33bee8bfec7dacfd6f3226047197ebf872293cfd6.

Solidity: event NewBootCoordinator(address indexed newBootCoordinator, string newBootCoordinatorURL)

func (*AuctionFilterer) WatchNewClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewClosedAuctionSlots(opts *bind.WatchOpts, sink chan<- *AuctionNewClosedAuctionSlots) (event.Subscription, error)

WatchNewClosedAuctionSlots is a free log subscription operation binding the contract event 0xc78051d3757db196b1e445f3a9a1380944518c69b5d7922ec747c54f0340a4ea.

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*AuctionFilterer) WatchNewDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewDefaultSlotSetBid(opts *bind.WatchOpts, sink chan<- *AuctionNewDefaultSlotSetBid) (event.Subscription, error)

WatchNewDefaultSlotSetBid is a free log subscription operation binding the contract event 0xa922aa010d1ff8e70b2aa9247d891836795c3d3ba2a543c37c91a44dc4a50172.

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*AuctionFilterer) WatchNewDonationAddress added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewDonationAddress(opts *bind.WatchOpts, sink chan<- *AuctionNewDonationAddress, newDonationAddress []common.Address) (event.Subscription, error)

WatchNewDonationAddress is a free log subscription operation binding the contract event 0xa62863cbad1647a2855e9cd39d04fa6dfd32e1b9cfaff1aaf6523f4aaafeccd7.

Solidity: event NewDonationAddress(address indexed newDonationAddress)

func (*AuctionFilterer) WatchNewForge added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewForge(opts *bind.WatchOpts, sink chan<- *AuctionNewForge, forger []common.Address, slotToForge []*big.Int) (event.Subscription, error)

WatchNewForge is a free log subscription operation binding the contract event 0x7cae662d4cfa9d9c5575c65f0cc41a858c51ca14ebcbd02a802a62376c3ad238.

Solidity: event NewForge(address indexed forger, uint128 indexed slotToForge)

func (*AuctionFilterer) WatchNewForgeAllocated added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewForgeAllocated(opts *bind.WatchOpts, sink chan<- *AuctionNewForgeAllocated, bidder []common.Address, forger []common.Address, slotToForge []*big.Int) (event.Subscription, error)

WatchNewForgeAllocated is a free log subscription operation binding the contract event 0xd64ebb43f4c2b91022b97389834432f1027ef55586129ba05a3a3065b2304f05.

Solidity: event NewForgeAllocated(address indexed bidder, address indexed forger, uint128 indexed slotToForge, uint128 burnAmount, uint128 donationAmount, uint128 governanceAmount)

func (*AuctionFilterer) WatchNewOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewOpenAuctionSlots(opts *bind.WatchOpts, sink chan<- *AuctionNewOpenAuctionSlots) (event.Subscription, error)

WatchNewOpenAuctionSlots is a free log subscription operation binding the contract event 0x3da0492dea7298351bc14d1c0699905fd0657c33487449751af50fc0c8b593f1.

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*AuctionFilterer) WatchNewOutbidding added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewOutbidding(opts *bind.WatchOpts, sink chan<- *AuctionNewOutbidding) (event.Subscription, error)

WatchNewOutbidding is a free log subscription operation binding the contract event 0xd3748b8c326e93d12af934fbf87471e315a89bc3f7b8222343acf0210edf248e.

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*AuctionFilterer) WatchNewSlotDeadline added in v1.6.0

func (_Auction *AuctionFilterer) WatchNewSlotDeadline(opts *bind.WatchOpts, sink chan<- *AuctionNewSlotDeadline) (event.Subscription, error)

WatchNewSlotDeadline is a free log subscription operation binding the contract event 0x4a0d90b611c15e02dbf23b10f35b936cf2c77665f8c77822d3eca131f9d986d3.

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*AuctionFilterer) WatchSetCoordinator added in v1.6.0

func (_Auction *AuctionFilterer) WatchSetCoordinator(opts *bind.WatchOpts, sink chan<- *AuctionSetCoordinator, bidder []common.Address, forger []common.Address) (event.Subscription, error)

WatchSetCoordinator is a free log subscription operation binding the contract event 0x5246b2ac9ee77efe2e64af6df00055d97e2d6e1b277f5a8d17ba5bca1a573da0.

Solidity: event SetCoordinator(address indexed bidder, address indexed forger, string coordinatorURL)

type AuctionHEZClaimed added in v1.6.0

type AuctionHEZClaimed struct {
	Owner  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

AuctionHEZClaimed represents a HEZClaimed event raised by the Auction contract.

type AuctionHEZClaimedIterator added in v1.6.0

type AuctionHEZClaimedIterator struct {
	Event *AuctionHEZClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionHEZClaimedIterator is returned from FilterHEZClaimed and is used to iterate over the raw logs and unpacked data for HEZClaimed events raised by the Auction contract.

func (*AuctionHEZClaimedIterator) Close added in v1.6.0

func (it *AuctionHEZClaimedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionHEZClaimedIterator) Error added in v1.6.0

func (it *AuctionHEZClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionHEZClaimedIterator) Next added in v1.6.0

func (it *AuctionHEZClaimedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionInitializeHermezAuctionProtocolEvent added in v1.6.0

type AuctionInitializeHermezAuctionProtocolEvent struct {
	DonationAddress        common.Address
	BootCoordinatorAddress common.Address
	BootCoordinatorURL     string
	Outbidding             uint16
	SlotDeadline           uint8
	ClosedAuctionSlots     uint16
	OpenAuctionSlots       uint16
	AllocationRatio        [3]uint16
	Raw                    types.Log // Blockchain specific contextual infos
}

AuctionInitializeHermezAuctionProtocolEvent represents a InitializeHermezAuctionProtocolEvent event raised by the Auction contract.

type AuctionInitializeHermezAuctionProtocolEventIterator added in v1.6.0

type AuctionInitializeHermezAuctionProtocolEventIterator struct {
	Event *AuctionInitializeHermezAuctionProtocolEvent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionInitializeHermezAuctionProtocolEventIterator is returned from FilterInitializeHermezAuctionProtocolEvent and is used to iterate over the raw logs and unpacked data for InitializeHermezAuctionProtocolEvent events raised by the Auction contract.

func (*AuctionInitializeHermezAuctionProtocolEventIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionInitializeHermezAuctionProtocolEventIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionInitializeHermezAuctionProtocolEventIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewAllocationRatio added in v1.6.0

type AuctionNewAllocationRatio struct {
	NewAllocationRatio [3]uint16
	Raw                types.Log // Blockchain specific contextual infos
}

AuctionNewAllocationRatio represents a NewAllocationRatio event raised by the Auction contract.

type AuctionNewAllocationRatioIterator added in v1.6.0

type AuctionNewAllocationRatioIterator struct {
	Event *AuctionNewAllocationRatio // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewAllocationRatioIterator is returned from FilterNewAllocationRatio and is used to iterate over the raw logs and unpacked data for NewAllocationRatio events raised by the Auction contract.

func (*AuctionNewAllocationRatioIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewAllocationRatioIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewAllocationRatioIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewBid added in v1.6.0

type AuctionNewBid struct {
	Slot      *big.Int
	BidAmount *big.Int
	Bidder    common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

AuctionNewBid represents a NewBid event raised by the Auction contract.

type AuctionNewBidIterator added in v1.6.0

type AuctionNewBidIterator struct {
	Event *AuctionNewBid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewBidIterator is returned from FilterNewBid and is used to iterate over the raw logs and unpacked data for NewBid events raised by the Auction contract.

func (*AuctionNewBidIterator) Close added in v1.6.0

func (it *AuctionNewBidIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewBidIterator) Error added in v1.6.0

func (it *AuctionNewBidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewBidIterator) Next added in v1.6.0

func (it *AuctionNewBidIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewBootCoordinator added in v1.6.0

type AuctionNewBootCoordinator struct {
	NewBootCoordinator    common.Address
	NewBootCoordinatorURL string
	Raw                   types.Log // Blockchain specific contextual infos
}

AuctionNewBootCoordinator represents a NewBootCoordinator event raised by the Auction contract.

type AuctionNewBootCoordinatorIterator added in v1.6.0

type AuctionNewBootCoordinatorIterator struct {
	Event *AuctionNewBootCoordinator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewBootCoordinatorIterator is returned from FilterNewBootCoordinator and is used to iterate over the raw logs and unpacked data for NewBootCoordinator events raised by the Auction contract.

func (*AuctionNewBootCoordinatorIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewBootCoordinatorIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewBootCoordinatorIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewClosedAuctionSlots added in v1.6.0

type AuctionNewClosedAuctionSlots struct {
	NewClosedAuctionSlots uint16
	Raw                   types.Log // Blockchain specific contextual infos
}

AuctionNewClosedAuctionSlots represents a NewClosedAuctionSlots event raised by the Auction contract.

type AuctionNewClosedAuctionSlotsIterator added in v1.6.0

type AuctionNewClosedAuctionSlotsIterator struct {
	Event *AuctionNewClosedAuctionSlots // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewClosedAuctionSlotsIterator is returned from FilterNewClosedAuctionSlots and is used to iterate over the raw logs and unpacked data for NewClosedAuctionSlots events raised by the Auction contract.

func (*AuctionNewClosedAuctionSlotsIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewClosedAuctionSlotsIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewClosedAuctionSlotsIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewDefaultSlotSetBid added in v1.6.0

type AuctionNewDefaultSlotSetBid struct {
	SlotSet          *big.Int
	NewInitialMinBid *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

AuctionNewDefaultSlotSetBid represents a NewDefaultSlotSetBid event raised by the Auction contract.

type AuctionNewDefaultSlotSetBidIterator added in v1.6.0

type AuctionNewDefaultSlotSetBidIterator struct {
	Event *AuctionNewDefaultSlotSetBid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewDefaultSlotSetBidIterator is returned from FilterNewDefaultSlotSetBid and is used to iterate over the raw logs and unpacked data for NewDefaultSlotSetBid events raised by the Auction contract.

func (*AuctionNewDefaultSlotSetBidIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewDefaultSlotSetBidIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewDefaultSlotSetBidIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewDonationAddress added in v1.6.0

type AuctionNewDonationAddress struct {
	NewDonationAddress common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

AuctionNewDonationAddress represents a NewDonationAddress event raised by the Auction contract.

type AuctionNewDonationAddressIterator added in v1.6.0

type AuctionNewDonationAddressIterator struct {
	Event *AuctionNewDonationAddress // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewDonationAddressIterator is returned from FilterNewDonationAddress and is used to iterate over the raw logs and unpacked data for NewDonationAddress events raised by the Auction contract.

func (*AuctionNewDonationAddressIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewDonationAddressIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewDonationAddressIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewForge added in v1.6.0

type AuctionNewForge struct {
	Forger      common.Address
	SlotToForge *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AuctionNewForge represents a NewForge event raised by the Auction contract.

type AuctionNewForgeAllocated added in v1.6.0

type AuctionNewForgeAllocated struct {
	Bidder           common.Address
	Forger           common.Address
	SlotToForge      *big.Int
	BurnAmount       *big.Int
	DonationAmount   *big.Int
	GovernanceAmount *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

AuctionNewForgeAllocated represents a NewForgeAllocated event raised by the Auction contract.

type AuctionNewForgeAllocatedIterator added in v1.6.0

type AuctionNewForgeAllocatedIterator struct {
	Event *AuctionNewForgeAllocated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewForgeAllocatedIterator is returned from FilterNewForgeAllocated and is used to iterate over the raw logs and unpacked data for NewForgeAllocated events raised by the Auction contract.

func (*AuctionNewForgeAllocatedIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewForgeAllocatedIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewForgeAllocatedIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewForgeIterator added in v1.6.0

type AuctionNewForgeIterator struct {
	Event *AuctionNewForge // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewForgeIterator is returned from FilterNewForge and is used to iterate over the raw logs and unpacked data for NewForge events raised by the Auction contract.

func (*AuctionNewForgeIterator) Close added in v1.6.0

func (it *AuctionNewForgeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewForgeIterator) Error added in v1.6.0

func (it *AuctionNewForgeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewForgeIterator) Next added in v1.6.0

func (it *AuctionNewForgeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewOpenAuctionSlots added in v1.6.0

type AuctionNewOpenAuctionSlots struct {
	NewOpenAuctionSlots uint16
	Raw                 types.Log // Blockchain specific contextual infos
}

AuctionNewOpenAuctionSlots represents a NewOpenAuctionSlots event raised by the Auction contract.

type AuctionNewOpenAuctionSlotsIterator added in v1.6.0

type AuctionNewOpenAuctionSlotsIterator struct {
	Event *AuctionNewOpenAuctionSlots // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewOpenAuctionSlotsIterator is returned from FilterNewOpenAuctionSlots and is used to iterate over the raw logs and unpacked data for NewOpenAuctionSlots events raised by the Auction contract.

func (*AuctionNewOpenAuctionSlotsIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewOpenAuctionSlotsIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewOpenAuctionSlotsIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewOutbidding added in v1.6.0

type AuctionNewOutbidding struct {
	NewOutbidding uint16
	Raw           types.Log // Blockchain specific contextual infos
}

AuctionNewOutbidding represents a NewOutbidding event raised by the Auction contract.

type AuctionNewOutbiddingIterator added in v1.6.0

type AuctionNewOutbiddingIterator struct {
	Event *AuctionNewOutbidding // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewOutbiddingIterator is returned from FilterNewOutbidding and is used to iterate over the raw logs and unpacked data for NewOutbidding events raised by the Auction contract.

func (*AuctionNewOutbiddingIterator) Close added in v1.6.0

func (it *AuctionNewOutbiddingIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewOutbiddingIterator) Error added in v1.6.0

func (it *AuctionNewOutbiddingIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewOutbiddingIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionNewSlotDeadline added in v1.6.0

type AuctionNewSlotDeadline struct {
	NewSlotDeadline uint8
	Raw             types.Log // Blockchain specific contextual infos
}

AuctionNewSlotDeadline represents a NewSlotDeadline event raised by the Auction contract.

type AuctionNewSlotDeadlineIterator added in v1.6.0

type AuctionNewSlotDeadlineIterator struct {
	Event *AuctionNewSlotDeadline // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionNewSlotDeadlineIterator is returned from FilterNewSlotDeadline and is used to iterate over the raw logs and unpacked data for NewSlotDeadline events raised by the Auction contract.

func (*AuctionNewSlotDeadlineIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionNewSlotDeadlineIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionNewSlotDeadlineIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionRaw added in v1.6.0

type AuctionRaw struct {
	Contract *Auction // Generic contract binding to access the raw methods on
}

AuctionRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*AuctionRaw) Call added in v1.6.0

func (_Auction *AuctionRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*AuctionRaw) Transact added in v1.6.0

func (_Auction *AuctionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AuctionRaw) Transfer added in v1.6.0

func (_Auction *AuctionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AuctionSession added in v1.6.0

type AuctionSession struct {
	Contract     *Auction          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

AuctionSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*AuctionSession) BLOCKSPERSLOT added in v1.6.0

func (_Auction *AuctionSession) BLOCKSPERSLOT() (uint8, error)

BLOCKSPERSLOT is a free data retrieval call binding the contract method 0x2243de47.

Solidity: function BLOCKS_PER_SLOT() view returns(uint8)

func (*AuctionSession) BootCoordinatorURL added in v1.6.0

func (_Auction *AuctionSession) BootCoordinatorURL() (string, error)

BootCoordinatorURL is a free data retrieval call binding the contract method 0x72ca58a3.

Solidity: function bootCoordinatorURL() view returns(string)

func (*AuctionSession) CanForge added in v1.6.0

func (_Auction *AuctionSession) CanForge(forger common.Address, blockNumber *big.Int) (bool, error)

CanForge is a free data retrieval call binding the contract method 0x83b1f6a0.

Solidity: function canForge(address forger, uint256 blockNumber) view returns(bool)

func (*AuctionSession) ChangeDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionSession) ChangeDefaultSlotSetBid(slotSet *big.Int, newInitialMinBid *big.Int) (*types.Transaction, error)

ChangeDefaultSlotSetBid is a paid mutator transaction binding the contract method 0x7c643b70.

Solidity: function changeDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid) returns()

func (*AuctionSession) ClaimHEZ added in v1.6.0

func (_Auction *AuctionSession) ClaimHEZ() (*types.Transaction, error)

ClaimHEZ is a paid mutator transaction binding the contract method 0x6dfe47c9.

Solidity: function claimHEZ() returns()

func (*AuctionSession) ClaimPendingHEZ added in v1.6.0

func (_Auction *AuctionSession) ClaimPendingHEZ(slot *big.Int) (*types.Transaction, error)

ClaimPendingHEZ is a paid mutator transaction binding the contract method 0x41d42c23.

Solidity: function claimPendingHEZ(uint128 slot) returns()

func (*AuctionSession) Coordinators added in v1.6.0

func (_Auction *AuctionSession) Coordinators(arg0 common.Address) (struct {
	Forger         common.Address
	CoordinatorURL string
}, error)

Coordinators is a free data retrieval call binding the contract method 0xa48af096.

Solidity: function coordinators(address ) view returns(address forger, string coordinatorURL)

func (*AuctionSession) Forge added in v1.6.0

func (_Auction *AuctionSession) Forge(forger common.Address) (*types.Transaction, error)

Forge is a paid mutator transaction binding the contract method 0x4e5a5178.

Solidity: function forge(address forger) returns()

func (*AuctionSession) GenesisBlock added in v1.6.0

func (_Auction *AuctionSession) GenesisBlock() (*big.Int, error)

GenesisBlock is a free data retrieval call binding the contract method 0x4cdc9c63.

Solidity: function genesisBlock() view returns(uint128)

func (*AuctionSession) GetAllocationRatio added in v1.6.0

func (_Auction *AuctionSession) GetAllocationRatio() ([3]uint16, error)

GetAllocationRatio is a free data retrieval call binding the contract method 0xec29159b.

Solidity: function getAllocationRatio() view returns(uint16[3])

func (*AuctionSession) GetBootCoordinator added in v1.6.0

func (_Auction *AuctionSession) GetBootCoordinator() (common.Address, error)

GetBootCoordinator is a free data retrieval call binding the contract method 0xb5f7f2f0.

Solidity: function getBootCoordinator() view returns(address)

func (*AuctionSession) GetClaimableHEZ added in v1.6.0

func (_Auction *AuctionSession) GetClaimableHEZ(bidder common.Address) (*big.Int, error)

GetClaimableHEZ is a free data retrieval call binding the contract method 0x5cca4903.

Solidity: function getClaimableHEZ(address bidder) view returns(uint128)

func (*AuctionSession) GetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionSession) GetClosedAuctionSlots() (uint16, error)

GetClosedAuctionSlots is a free data retrieval call binding the contract method 0x4da9639d.

Solidity: function getClosedAuctionSlots() view returns(uint16)

func (*AuctionSession) GetCurrentSlotNumber added in v1.6.0

func (_Auction *AuctionSession) GetCurrentSlotNumber() (*big.Int, error)

GetCurrentSlotNumber is a free data retrieval call binding the contract method 0x0c4da4f6.

Solidity: function getCurrentSlotNumber() view returns(uint128)

func (*AuctionSession) GetDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionSession) GetDefaultSlotSetBid(slotSet uint8) (*big.Int, error)

GetDefaultSlotSetBid is a free data retrieval call binding the contract method 0x564e6a71.

Solidity: function getDefaultSlotSetBid(uint8 slotSet) view returns(uint128)

func (*AuctionSession) GetDonationAddress added in v1.6.0

func (_Auction *AuctionSession) GetDonationAddress() (common.Address, error)

GetDonationAddress is a free data retrieval call binding the contract method 0x54c03ab7.

Solidity: function getDonationAddress() view returns(address)

func (*AuctionSession) GetMinBidBySlot added in v1.6.0

func (_Auction *AuctionSession) GetMinBidBySlot(slot *big.Int) (*big.Int, error)

GetMinBidBySlot is a free data retrieval call binding the contract method 0x37d1bd0b.

Solidity: function getMinBidBySlot(uint128 slot) view returns(uint128)

func (*AuctionSession) GetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionSession) GetOpenAuctionSlots() (uint16, error)

GetOpenAuctionSlots is a free data retrieval call binding the contract method 0xac4b9012.

Solidity: function getOpenAuctionSlots() view returns(uint16)

func (*AuctionSession) GetOutbidding added in v1.6.0

func (_Auction *AuctionSession) GetOutbidding() (uint16, error)

GetOutbidding is a free data retrieval call binding the contract method 0x55b442e6.

Solidity: function getOutbidding() view returns(uint16)

func (*AuctionSession) GetSlotDeadline added in v1.6.0

func (_Auction *AuctionSession) GetSlotDeadline() (uint8, error)

GetSlotDeadline is a free data retrieval call binding the contract method 0x13de9af2.

Solidity: function getSlotDeadline() view returns(uint8)

func (*AuctionSession) GetSlotNumber added in v1.6.0

func (_Auction *AuctionSession) GetSlotNumber(blockNumber *big.Int) (*big.Int, error)

GetSlotNumber is a free data retrieval call binding the contract method 0xb3dc7bb1.

Solidity: function getSlotNumber(uint128 blockNumber) view returns(uint128)

func (*AuctionSession) GetSlotSet added in v1.6.0

func (_Auction *AuctionSession) GetSlotSet(slot *big.Int) (*big.Int, error)

GetSlotSet is a free data retrieval call binding the contract method 0xac5f658b.

Solidity: function getSlotSet(uint128 slot) view returns(uint128)

func (*AuctionSession) GovernanceAddress added in v1.6.0

func (_Auction *AuctionSession) GovernanceAddress() (common.Address, error)

GovernanceAddress is a free data retrieval call binding the contract method 0x795053d3.

Solidity: function governanceAddress() view returns(address)

func (*AuctionSession) HermezAuctionProtocolInitializer added in v1.6.0

func (_Auction *AuctionSession) HermezAuctionProtocolInitializer(token common.Address, genesis *big.Int, hermezRollupAddress common.Address, _governanceAddress common.Address, donationAddress common.Address, bootCoordinatorAddress common.Address, _bootCoordinatorURL string) (*types.Transaction, error)

HermezAuctionProtocolInitializer is a paid mutator transaction binding the contract method 0x5e73a67f.

Solidity: function hermezAuctionProtocolInitializer(address token, uint128 genesis, address hermezRollupAddress, address _governanceAddress, address donationAddress, address bootCoordinatorAddress, string _bootCoordinatorURL) returns()

func (*AuctionSession) HermezRollup added in v1.6.0

func (_Auction *AuctionSession) HermezRollup() (common.Address, error)

HermezRollup is a free data retrieval call binding the contract method 0xaebd6d98.

Solidity: function hermezRollup() view returns(address)

func (*AuctionSession) INITIALMINIMALBIDDING added in v1.6.0

func (_Auction *AuctionSession) INITIALMINIMALBIDDING() (*big.Int, error)

INITIALMINIMALBIDDING is a free data retrieval call binding the contract method 0xe6065914.

Solidity: function INITIAL_MINIMAL_BIDDING() view returns(uint128)

func (*AuctionSession) PendingBalances added in v1.6.0

func (_Auction *AuctionSession) PendingBalances(arg0 common.Address) (*big.Int, error)

PendingBalances is a free data retrieval call binding the contract method 0xecdae41b.

Solidity: function pendingBalances(address ) view returns(uint128)

func (*AuctionSession) ProcessBid added in v1.6.0

func (_Auction *AuctionSession) ProcessBid(amount *big.Int, slot *big.Int, bidAmount *big.Int, permit []byte) (*types.Transaction, error)

ProcessBid is a paid mutator transaction binding the contract method 0x4b93b7fa.

Solidity: function processBid(uint128 amount, uint128 slot, uint128 bidAmount, bytes permit) returns()

func (*AuctionSession) ProcessMultiBid added in v1.6.0

func (_Auction *AuctionSession) ProcessMultiBid(amount *big.Int, startingSlot *big.Int, endingSlot *big.Int, slotSets [6]bool, maxBid *big.Int, minBid *big.Int, permit []byte) (*types.Transaction, error)

ProcessMultiBid is a paid mutator transaction binding the contract method 0x583ad0dd.

Solidity: function processMultiBid(uint128 amount, uint128 startingSlot, uint128 endingSlot, bool[6] slotSets, uint128 maxBid, uint128 minBid, bytes permit) returns()

func (*AuctionSession) SetAllocationRatio added in v1.6.0

func (_Auction *AuctionSession) SetAllocationRatio(newAllocationRatio [3]uint16) (*types.Transaction, error)

SetAllocationRatio is a paid mutator transaction binding the contract method 0x82787405.

Solidity: function setAllocationRatio(uint16[3] newAllocationRatio) returns()

func (*AuctionSession) SetBootCoordinator added in v1.6.0

func (_Auction *AuctionSession) SetBootCoordinator(newBootCoordinator common.Address, newBootCoordinatorURL string) (*types.Transaction, error)

SetBootCoordinator is a paid mutator transaction binding the contract method 0x6cbdc3df.

Solidity: function setBootCoordinator(address newBootCoordinator, string newBootCoordinatorURL) returns()

func (*AuctionSession) SetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionSession) SetClosedAuctionSlots(newClosedAuctionSlots uint16) (*types.Transaction, error)

SetClosedAuctionSlots is a paid mutator transaction binding the contract method 0xd92bdda3.

Solidity: function setClosedAuctionSlots(uint16 newClosedAuctionSlots) returns()

func (*AuctionSession) SetCoordinator added in v1.6.0

func (_Auction *AuctionSession) SetCoordinator(forger common.Address, coordinatorURL string) (*types.Transaction, error)

SetCoordinator is a paid mutator transaction binding the contract method 0x0eeaf080.

Solidity: function setCoordinator(address forger, string coordinatorURL) returns()

func (*AuctionSession) SetDonationAddress added in v1.6.0

func (_Auction *AuctionSession) SetDonationAddress(newDonationAddress common.Address) (*types.Transaction, error)

SetDonationAddress is a paid mutator transaction binding the contract method 0x6f48e79b.

Solidity: function setDonationAddress(address newDonationAddress) returns()

func (*AuctionSession) SetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionSession) SetOpenAuctionSlots(newOpenAuctionSlots uint16) (*types.Transaction, error)

SetOpenAuctionSlots is a paid mutator transaction binding the contract method 0xc63de515.

Solidity: function setOpenAuctionSlots(uint16 newOpenAuctionSlots) returns()

func (*AuctionSession) SetOutbidding added in v1.6.0

func (_Auction *AuctionSession) SetOutbidding(newOutbidding uint16) (*types.Transaction, error)

SetOutbidding is a paid mutator transaction binding the contract method 0xdfd5281b.

Solidity: function setOutbidding(uint16 newOutbidding) returns()

func (*AuctionSession) SetSlotDeadline added in v1.6.0

func (_Auction *AuctionSession) SetSlotDeadline(newDeadline uint8) (*types.Transaction, error)

SetSlotDeadline is a paid mutator transaction binding the contract method 0x87e6b6bb.

Solidity: function setSlotDeadline(uint8 newDeadline) returns()

func (*AuctionSession) Slots added in v1.6.0

func (_Auction *AuctionSession) Slots(arg0 *big.Int) (struct {
	Bidder           common.Address
	Fulfilled        bool
	ForgerCommitment bool
	BidAmount        *big.Int
	ClosedMinBid     *big.Int
}, error)

Slots is a free data retrieval call binding the contract method 0xbc415567.

Solidity: function slots(uint128 ) view returns(address bidder, bool fulfilled, bool forgerCommitment, uint128 bidAmount, uint128 closedMinBid)

func (*AuctionSession) TokenHEZ added in v1.6.0

func (_Auction *AuctionSession) TokenHEZ() (common.Address, error)

TokenHEZ is a free data retrieval call binding the contract method 0x79a135e3.

Solidity: function tokenHEZ() view returns(address)

type AuctionSetCoordinator added in v1.6.0

type AuctionSetCoordinator struct {
	Bidder         common.Address
	Forger         common.Address
	CoordinatorURL string
	Raw            types.Log // Blockchain specific contextual infos
}

AuctionSetCoordinator represents a SetCoordinator event raised by the Auction contract.

type AuctionSetCoordinatorIterator added in v1.6.0

type AuctionSetCoordinatorIterator struct {
	Event *AuctionSetCoordinator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AuctionSetCoordinatorIterator is returned from FilterSetCoordinator and is used to iterate over the raw logs and unpacked data for SetCoordinator events raised by the Auction contract.

func (*AuctionSetCoordinatorIterator) Close added in v1.6.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*AuctionSetCoordinatorIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*AuctionSetCoordinatorIterator) Next added in v1.6.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AuctionTransactor added in v1.6.0

type AuctionTransactor struct {
	// contains filtered or unexported fields
}

AuctionTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAuctionTransactor added in v1.6.0

func NewAuctionTransactor(address common.Address, transactor bind.ContractTransactor) (*AuctionTransactor, error)

NewAuctionTransactor creates a new write-only instance of Auction, bound to a specific deployed contract.

func (*AuctionTransactor) ChangeDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionTransactor) ChangeDefaultSlotSetBid(opts *bind.TransactOpts, slotSet *big.Int, newInitialMinBid *big.Int) (*types.Transaction, error)

ChangeDefaultSlotSetBid is a paid mutator transaction binding the contract method 0x7c643b70.

Solidity: function changeDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid) returns()

func (*AuctionTransactor) ClaimHEZ added in v1.6.0

func (_Auction *AuctionTransactor) ClaimHEZ(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimHEZ is a paid mutator transaction binding the contract method 0x6dfe47c9.

Solidity: function claimHEZ() returns()

func (*AuctionTransactor) ClaimPendingHEZ added in v1.6.0

func (_Auction *AuctionTransactor) ClaimPendingHEZ(opts *bind.TransactOpts, slot *big.Int) (*types.Transaction, error)

ClaimPendingHEZ is a paid mutator transaction binding the contract method 0x41d42c23.

Solidity: function claimPendingHEZ(uint128 slot) returns()

func (*AuctionTransactor) Forge added in v1.6.0

func (_Auction *AuctionTransactor) Forge(opts *bind.TransactOpts, forger common.Address) (*types.Transaction, error)

Forge is a paid mutator transaction binding the contract method 0x4e5a5178.

Solidity: function forge(address forger) returns()

func (*AuctionTransactor) HermezAuctionProtocolInitializer added in v1.6.0

func (_Auction *AuctionTransactor) HermezAuctionProtocolInitializer(opts *bind.TransactOpts, token common.Address, genesis *big.Int, hermezRollupAddress common.Address, _governanceAddress common.Address, donationAddress common.Address, bootCoordinatorAddress common.Address, _bootCoordinatorURL string) (*types.Transaction, error)

HermezAuctionProtocolInitializer is a paid mutator transaction binding the contract method 0x5e73a67f.

Solidity: function hermezAuctionProtocolInitializer(address token, uint128 genesis, address hermezRollupAddress, address _governanceAddress, address donationAddress, address bootCoordinatorAddress, string _bootCoordinatorURL) returns()

func (*AuctionTransactor) ProcessBid added in v1.6.0

func (_Auction *AuctionTransactor) ProcessBid(opts *bind.TransactOpts, amount *big.Int, slot *big.Int, bidAmount *big.Int, permit []byte) (*types.Transaction, error)

ProcessBid is a paid mutator transaction binding the contract method 0x4b93b7fa.

Solidity: function processBid(uint128 amount, uint128 slot, uint128 bidAmount, bytes permit) returns()

func (*AuctionTransactor) ProcessMultiBid added in v1.6.0

func (_Auction *AuctionTransactor) ProcessMultiBid(opts *bind.TransactOpts, amount *big.Int, startingSlot *big.Int, endingSlot *big.Int, slotSets [6]bool, maxBid *big.Int, minBid *big.Int, permit []byte) (*types.Transaction, error)

ProcessMultiBid is a paid mutator transaction binding the contract method 0x583ad0dd.

Solidity: function processMultiBid(uint128 amount, uint128 startingSlot, uint128 endingSlot, bool[6] slotSets, uint128 maxBid, uint128 minBid, bytes permit) returns()

func (*AuctionTransactor) SetAllocationRatio added in v1.6.0

func (_Auction *AuctionTransactor) SetAllocationRatio(opts *bind.TransactOpts, newAllocationRatio [3]uint16) (*types.Transaction, error)

SetAllocationRatio is a paid mutator transaction binding the contract method 0x82787405.

Solidity: function setAllocationRatio(uint16[3] newAllocationRatio) returns()

func (*AuctionTransactor) SetBootCoordinator added in v1.6.0

func (_Auction *AuctionTransactor) SetBootCoordinator(opts *bind.TransactOpts, newBootCoordinator common.Address, newBootCoordinatorURL string) (*types.Transaction, error)

SetBootCoordinator is a paid mutator transaction binding the contract method 0x6cbdc3df.

Solidity: function setBootCoordinator(address newBootCoordinator, string newBootCoordinatorURL) returns()

func (*AuctionTransactor) SetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionTransactor) SetClosedAuctionSlots(opts *bind.TransactOpts, newClosedAuctionSlots uint16) (*types.Transaction, error)

SetClosedAuctionSlots is a paid mutator transaction binding the contract method 0xd92bdda3.

Solidity: function setClosedAuctionSlots(uint16 newClosedAuctionSlots) returns()

func (*AuctionTransactor) SetCoordinator added in v1.6.0

func (_Auction *AuctionTransactor) SetCoordinator(opts *bind.TransactOpts, forger common.Address, coordinatorURL string) (*types.Transaction, error)

SetCoordinator is a paid mutator transaction binding the contract method 0x0eeaf080.

Solidity: function setCoordinator(address forger, string coordinatorURL) returns()

func (*AuctionTransactor) SetDonationAddress added in v1.6.0

func (_Auction *AuctionTransactor) SetDonationAddress(opts *bind.TransactOpts, newDonationAddress common.Address) (*types.Transaction, error)

SetDonationAddress is a paid mutator transaction binding the contract method 0x6f48e79b.

Solidity: function setDonationAddress(address newDonationAddress) returns()

func (*AuctionTransactor) SetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionTransactor) SetOpenAuctionSlots(opts *bind.TransactOpts, newOpenAuctionSlots uint16) (*types.Transaction, error)

SetOpenAuctionSlots is a paid mutator transaction binding the contract method 0xc63de515.

Solidity: function setOpenAuctionSlots(uint16 newOpenAuctionSlots) returns()

func (*AuctionTransactor) SetOutbidding added in v1.6.0

func (_Auction *AuctionTransactor) SetOutbidding(opts *bind.TransactOpts, newOutbidding uint16) (*types.Transaction, error)

SetOutbidding is a paid mutator transaction binding the contract method 0xdfd5281b.

Solidity: function setOutbidding(uint16 newOutbidding) returns()

func (*AuctionTransactor) SetSlotDeadline added in v1.6.0

func (_Auction *AuctionTransactor) SetSlotDeadline(opts *bind.TransactOpts, newDeadline uint8) (*types.Transaction, error)

SetSlotDeadline is a paid mutator transaction binding the contract method 0x87e6b6bb.

Solidity: function setSlotDeadline(uint8 newDeadline) returns()

type AuctionTransactorRaw added in v1.6.0

type AuctionTransactorRaw struct {
	Contract *AuctionTransactor // Generic write-only contract binding to access the raw methods on
}

AuctionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AuctionTransactorRaw) Transact added in v1.6.0

func (_Auction *AuctionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AuctionTransactorRaw) Transfer added in v1.6.0

func (_Auction *AuctionTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AuctionTransactorSession added in v1.6.0

type AuctionTransactorSession struct {
	Contract     *AuctionTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

AuctionTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*AuctionTransactorSession) ChangeDefaultSlotSetBid added in v1.6.0

func (_Auction *AuctionTransactorSession) ChangeDefaultSlotSetBid(slotSet *big.Int, newInitialMinBid *big.Int) (*types.Transaction, error)

ChangeDefaultSlotSetBid is a paid mutator transaction binding the contract method 0x7c643b70.

Solidity: function changeDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid) returns()

func (*AuctionTransactorSession) ClaimHEZ added in v1.6.0

func (_Auction *AuctionTransactorSession) ClaimHEZ() (*types.Transaction, error)

ClaimHEZ is a paid mutator transaction binding the contract method 0x6dfe47c9.

Solidity: function claimHEZ() returns()

func (*AuctionTransactorSession) ClaimPendingHEZ added in v1.6.0

func (_Auction *AuctionTransactorSession) ClaimPendingHEZ(slot *big.Int) (*types.Transaction, error)

ClaimPendingHEZ is a paid mutator transaction binding the contract method 0x41d42c23.

Solidity: function claimPendingHEZ(uint128 slot) returns()

func (*AuctionTransactorSession) Forge added in v1.6.0

func (_Auction *AuctionTransactorSession) Forge(forger common.Address) (*types.Transaction, error)

Forge is a paid mutator transaction binding the contract method 0x4e5a5178.

Solidity: function forge(address forger) returns()

func (*AuctionTransactorSession) HermezAuctionProtocolInitializer added in v1.6.0

func (_Auction *AuctionTransactorSession) HermezAuctionProtocolInitializer(token common.Address, genesis *big.Int, hermezRollupAddress common.Address, _governanceAddress common.Address, donationAddress common.Address, bootCoordinatorAddress common.Address, _bootCoordinatorURL string) (*types.Transaction, error)

HermezAuctionProtocolInitializer is a paid mutator transaction binding the contract method 0x5e73a67f.

Solidity: function hermezAuctionProtocolInitializer(address token, uint128 genesis, address hermezRollupAddress, address _governanceAddress, address donationAddress, address bootCoordinatorAddress, string _bootCoordinatorURL) returns()

func (*AuctionTransactorSession) ProcessBid added in v1.6.0

func (_Auction *AuctionTransactorSession) ProcessBid(amount *big.Int, slot *big.Int, bidAmount *big.Int, permit []byte) (*types.Transaction, error)

ProcessBid is a paid mutator transaction binding the contract method 0x4b93b7fa.

Solidity: function processBid(uint128 amount, uint128 slot, uint128 bidAmount, bytes permit) returns()

func (*AuctionTransactorSession) ProcessMultiBid added in v1.6.0

func (_Auction *AuctionTransactorSession) ProcessMultiBid(amount *big.Int, startingSlot *big.Int, endingSlot *big.Int, slotSets [6]bool, maxBid *big.Int, minBid *big.Int, permit []byte) (*types.Transaction, error)

ProcessMultiBid is a paid mutator transaction binding the contract method 0x583ad0dd.

Solidity: function processMultiBid(uint128 amount, uint128 startingSlot, uint128 endingSlot, bool[6] slotSets, uint128 maxBid, uint128 minBid, bytes permit) returns()

func (*AuctionTransactorSession) SetAllocationRatio added in v1.6.0

func (_Auction *AuctionTransactorSession) SetAllocationRatio(newAllocationRatio [3]uint16) (*types.Transaction, error)

SetAllocationRatio is a paid mutator transaction binding the contract method 0x82787405.

Solidity: function setAllocationRatio(uint16[3] newAllocationRatio) returns()

func (*AuctionTransactorSession) SetBootCoordinator added in v1.6.0

func (_Auction *AuctionTransactorSession) SetBootCoordinator(newBootCoordinator common.Address, newBootCoordinatorURL string) (*types.Transaction, error)

SetBootCoordinator is a paid mutator transaction binding the contract method 0x6cbdc3df.

Solidity: function setBootCoordinator(address newBootCoordinator, string newBootCoordinatorURL) returns()

func (*AuctionTransactorSession) SetClosedAuctionSlots added in v1.6.0

func (_Auction *AuctionTransactorSession) SetClosedAuctionSlots(newClosedAuctionSlots uint16) (*types.Transaction, error)

SetClosedAuctionSlots is a paid mutator transaction binding the contract method 0xd92bdda3.

Solidity: function setClosedAuctionSlots(uint16 newClosedAuctionSlots) returns()

func (*AuctionTransactorSession) SetCoordinator added in v1.6.0

func (_Auction *AuctionTransactorSession) SetCoordinator(forger common.Address, coordinatorURL string) (*types.Transaction, error)

SetCoordinator is a paid mutator transaction binding the contract method 0x0eeaf080.

Solidity: function setCoordinator(address forger, string coordinatorURL) returns()

func (*AuctionTransactorSession) SetDonationAddress added in v1.6.0

func (_Auction *AuctionTransactorSession) SetDonationAddress(newDonationAddress common.Address) (*types.Transaction, error)

SetDonationAddress is a paid mutator transaction binding the contract method 0x6f48e79b.

Solidity: function setDonationAddress(address newDonationAddress) returns()

func (*AuctionTransactorSession) SetOpenAuctionSlots added in v1.6.0

func (_Auction *AuctionTransactorSession) SetOpenAuctionSlots(newOpenAuctionSlots uint16) (*types.Transaction, error)

SetOpenAuctionSlots is a paid mutator transaction binding the contract method 0xc63de515.

Solidity: function setOpenAuctionSlots(uint16 newOpenAuctionSlots) returns()

func (*AuctionTransactorSession) SetOutbidding added in v1.6.0

func (_Auction *AuctionTransactorSession) SetOutbidding(newOutbidding uint16) (*types.Transaction, error)

SetOutbidding is a paid mutator transaction binding the contract method 0xdfd5281b.

Solidity: function setOutbidding(uint16 newOutbidding) returns()

func (*AuctionTransactorSession) SetSlotDeadline added in v1.6.0

func (_Auction *AuctionTransactorSession) SetSlotDeadline(newDeadline uint8) (*types.Transaction, error)

SetSlotDeadline is a paid mutator transaction binding the contract method 0x87e6b6bb.

Solidity: function setSlotDeadline(uint8 newDeadline) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL