HermezAuctionProtocol

package
v1.2.0-rc5 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type HermezAuctionProtocol

type HermezAuctionProtocol struct {
	HermezAuctionProtocolCaller     // Read-only binding to the contract
	HermezAuctionProtocolTransactor // Write-only binding to the contract
	HermezAuctionProtocolFilterer   // Log filterer for contract events
}

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

func NewHermezAuctionProtocol

func NewHermezAuctionProtocol(address common.Address, backend bind.ContractBackend) (*HermezAuctionProtocol, error)

NewHermezAuctionProtocol creates a new instance of HermezAuctionProtocol, bound to a specific deployed contract.

type HermezAuctionProtocolCaller

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

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

func NewHermezAuctionProtocolCaller

func NewHermezAuctionProtocolCaller(address common.Address, caller bind.ContractCaller) (*HermezAuctionProtocolCaller, error)

NewHermezAuctionProtocolCaller creates a new read-only instance of HermezAuctionProtocol, bound to a specific deployed contract.

func (*HermezAuctionProtocolCaller) BLOCKSPERSLOT

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) BootCoordinatorURL

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) CanForge

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) Coordinators

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GenesisBlock

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetClaimableHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetCurrentSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetMinBidBySlot

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GetSlotSet

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) GovernanceAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) HermezRollup

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) INITIALMINIMALBIDDING

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) PendingBalances

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) Slots

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 (*HermezAuctionProtocolCaller) TokenHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) 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 HermezAuctionProtocolCallerRaw

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

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

func (*HermezAuctionProtocolCallerRaw) Call

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerRaw) 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 HermezAuctionProtocolCallerSession

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

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

func (*HermezAuctionProtocolCallerSession) BLOCKSPERSLOT

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) BLOCKSPERSLOT() (uint8, error)

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

Solidity: function BLOCKS_PER_SLOT() view returns(uint8)

func (*HermezAuctionProtocolCallerSession) BootCoordinatorURL

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) BootCoordinatorURL() (string, error)

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

Solidity: function bootCoordinatorURL() view returns(string)

func (*HermezAuctionProtocolCallerSession) CanForge

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) Coordinators

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GenesisBlock

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GenesisBlock() (*big.Int, error)

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

Solidity: function genesisBlock() view returns(uint128)

func (*HermezAuctionProtocolCallerSession) GetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetAllocationRatio() ([3]uint16, error)

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

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

func (*HermezAuctionProtocolCallerSession) GetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetBootCoordinator() (common.Address, error)

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

Solidity: function getBootCoordinator() view returns(address)

func (*HermezAuctionProtocolCallerSession) GetClaimableHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetClosedAuctionSlots() (uint16, error)

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

Solidity: function getClosedAuctionSlots() view returns(uint16)

func (*HermezAuctionProtocolCallerSession) GetCurrentSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetCurrentSlotNumber() (*big.Int, error)

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

Solidity: function getCurrentSlotNumber() view returns(uint128)

func (*HermezAuctionProtocolCallerSession) GetDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetDonationAddress() (common.Address, error)

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

Solidity: function getDonationAddress() view returns(address)

func (*HermezAuctionProtocolCallerSession) GetMinBidBySlot

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetOpenAuctionSlots() (uint16, error)

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

Solidity: function getOpenAuctionSlots() view returns(uint16)

func (*HermezAuctionProtocolCallerSession) GetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetOutbidding() (uint16, error)

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

Solidity: function getOutbidding() view returns(uint16)

func (*HermezAuctionProtocolCallerSession) GetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GetSlotDeadline() (uint8, error)

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

Solidity: function getSlotDeadline() view returns(uint8)

func (*HermezAuctionProtocolCallerSession) GetSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GetSlotSet

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) GovernanceAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) GovernanceAddress() (common.Address, error)

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

Solidity: function governanceAddress() view returns(address)

func (*HermezAuctionProtocolCallerSession) HermezRollup

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) HermezRollup() (common.Address, error)

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

Solidity: function hermezRollup() view returns(address)

func (*HermezAuctionProtocolCallerSession) INITIALMINIMALBIDDING

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) PendingBalances

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) Slots

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) 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 (*HermezAuctionProtocolCallerSession) TokenHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolCallerSession) TokenHEZ() (common.Address, error)

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

Solidity: function tokenHEZ() view returns(address)

type HermezAuctionProtocolFilterer

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

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

func NewHermezAuctionProtocolFilterer

func NewHermezAuctionProtocolFilterer(address common.Address, filterer bind.ContractFilterer) (*HermezAuctionProtocolFilterer, error)

NewHermezAuctionProtocolFilterer creates a new log filterer instance of HermezAuctionProtocol, bound to a specific deployed contract.

func (*HermezAuctionProtocolFilterer) FilterHEZClaimed

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterHEZClaimed(opts *bind.FilterOpts, owner []common.Address) (*HermezAuctionProtocolHEZClaimedIterator, error)

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

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

func (*HermezAuctionProtocolFilterer) FilterInitializeHermezAuctionProtocolEvent

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterInitializeHermezAuctionProtocolEvent(opts *bind.FilterOpts) (*HermezAuctionProtocolInitializeHermezAuctionProtocolEventIterator, 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 (*HermezAuctionProtocolFilterer) FilterNewAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewAllocationRatio(opts *bind.FilterOpts) (*HermezAuctionProtocolNewAllocationRatioIterator, error)

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

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*HermezAuctionProtocolFilterer) FilterNewBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewBid(opts *bind.FilterOpts, slot []*big.Int, bidder []common.Address) (*HermezAuctionProtocolNewBidIterator, 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 (*HermezAuctionProtocolFilterer) FilterNewBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewBootCoordinator(opts *bind.FilterOpts, newBootCoordinator []common.Address) (*HermezAuctionProtocolNewBootCoordinatorIterator, error)

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

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

func (*HermezAuctionProtocolFilterer) FilterNewClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewClosedAuctionSlots(opts *bind.FilterOpts) (*HermezAuctionProtocolNewClosedAuctionSlotsIterator, error)

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

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*HermezAuctionProtocolFilterer) FilterNewDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewDefaultSlotSetBid(opts *bind.FilterOpts) (*HermezAuctionProtocolNewDefaultSlotSetBidIterator, error)

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

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*HermezAuctionProtocolFilterer) FilterNewDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewDonationAddress(opts *bind.FilterOpts, newDonationAddress []common.Address) (*HermezAuctionProtocolNewDonationAddressIterator, error)

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

Solidity: event NewDonationAddress(address indexed newDonationAddress)

func (*HermezAuctionProtocolFilterer) FilterNewForge

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewForge(opts *bind.FilterOpts, forger []common.Address, slotToForge []*big.Int) (*HermezAuctionProtocolNewForgeIterator, error)

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

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

func (*HermezAuctionProtocolFilterer) FilterNewForgeAllocated

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewForgeAllocated(opts *bind.FilterOpts, bidder []common.Address, forger []common.Address, slotToForge []*big.Int) (*HermezAuctionProtocolNewForgeAllocatedIterator, 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 (*HermezAuctionProtocolFilterer) FilterNewOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewOpenAuctionSlots(opts *bind.FilterOpts) (*HermezAuctionProtocolNewOpenAuctionSlotsIterator, error)

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

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*HermezAuctionProtocolFilterer) FilterNewOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewOutbidding(opts *bind.FilterOpts) (*HermezAuctionProtocolNewOutbiddingIterator, error)

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

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*HermezAuctionProtocolFilterer) FilterNewSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterNewSlotDeadline(opts *bind.FilterOpts) (*HermezAuctionProtocolNewSlotDeadlineIterator, error)

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

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*HermezAuctionProtocolFilterer) FilterSetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) FilterSetCoordinator(opts *bind.FilterOpts, bidder []common.Address, forger []common.Address) (*HermezAuctionProtocolSetCoordinatorIterator, 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 (*HermezAuctionProtocolFilterer) ParseHEZClaimed

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseHEZClaimed(log types.Log) (*HermezAuctionProtocolHEZClaimed, error)

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

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

func (*HermezAuctionProtocolFilterer) ParseInitializeHermezAuctionProtocolEvent

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseInitializeHermezAuctionProtocolEvent(log types.Log) (*HermezAuctionProtocolInitializeHermezAuctionProtocolEvent, 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 (*HermezAuctionProtocolFilterer) ParseNewAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewAllocationRatio(log types.Log) (*HermezAuctionProtocolNewAllocationRatio, error)

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

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*HermezAuctionProtocolFilterer) ParseNewBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewBid(log types.Log) (*HermezAuctionProtocolNewBid, error)

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

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

func (*HermezAuctionProtocolFilterer) ParseNewBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewBootCoordinator(log types.Log) (*HermezAuctionProtocolNewBootCoordinator, error)

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

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

func (*HermezAuctionProtocolFilterer) ParseNewClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewClosedAuctionSlots(log types.Log) (*HermezAuctionProtocolNewClosedAuctionSlots, error)

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

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*HermezAuctionProtocolFilterer) ParseNewDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewDefaultSlotSetBid(log types.Log) (*HermezAuctionProtocolNewDefaultSlotSetBid, error)

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

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*HermezAuctionProtocolFilterer) ParseNewDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewDonationAddress(log types.Log) (*HermezAuctionProtocolNewDonationAddress, error)

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

Solidity: event NewDonationAddress(address indexed newDonationAddress)

func (*HermezAuctionProtocolFilterer) ParseNewForge

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewForge(log types.Log) (*HermezAuctionProtocolNewForge, error)

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

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

func (*HermezAuctionProtocolFilterer) ParseNewForgeAllocated

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewForgeAllocated(log types.Log) (*HermezAuctionProtocolNewForgeAllocated, 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 (*HermezAuctionProtocolFilterer) ParseNewOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewOpenAuctionSlots(log types.Log) (*HermezAuctionProtocolNewOpenAuctionSlots, error)

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

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*HermezAuctionProtocolFilterer) ParseNewOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewOutbidding(log types.Log) (*HermezAuctionProtocolNewOutbidding, error)

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

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*HermezAuctionProtocolFilterer) ParseNewSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseNewSlotDeadline(log types.Log) (*HermezAuctionProtocolNewSlotDeadline, error)

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

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*HermezAuctionProtocolFilterer) ParseSetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) ParseSetCoordinator(log types.Log) (*HermezAuctionProtocolSetCoordinator, error)

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

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

func (*HermezAuctionProtocolFilterer) WatchHEZClaimed

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchHEZClaimed(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolHEZClaimed, 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 (*HermezAuctionProtocolFilterer) WatchInitializeHermezAuctionProtocolEvent

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchInitializeHermezAuctionProtocolEvent(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolInitializeHermezAuctionProtocolEvent) (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 (*HermezAuctionProtocolFilterer) WatchNewAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewAllocationRatio(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewAllocationRatio) (event.Subscription, error)

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

Solidity: event NewAllocationRatio(uint16[3] newAllocationRatio)

func (*HermezAuctionProtocolFilterer) WatchNewBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewBid(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewBid, 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 (*HermezAuctionProtocolFilterer) WatchNewBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewBootCoordinator(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewBootCoordinator, 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 (*HermezAuctionProtocolFilterer) WatchNewClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewClosedAuctionSlots(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewClosedAuctionSlots) (event.Subscription, error)

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

Solidity: event NewClosedAuctionSlots(uint16 newClosedAuctionSlots)

func (*HermezAuctionProtocolFilterer) WatchNewDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewDefaultSlotSetBid(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewDefaultSlotSetBid) (event.Subscription, error)

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

Solidity: event NewDefaultSlotSetBid(uint128 slotSet, uint128 newInitialMinBid)

func (*HermezAuctionProtocolFilterer) WatchNewDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewDonationAddress(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewDonationAddress, 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 (*HermezAuctionProtocolFilterer) WatchNewForge

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewForge(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewForge, 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 (*HermezAuctionProtocolFilterer) WatchNewForgeAllocated

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewForgeAllocated(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewForgeAllocated, 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 (*HermezAuctionProtocolFilterer) WatchNewOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewOpenAuctionSlots(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewOpenAuctionSlots) (event.Subscription, error)

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

Solidity: event NewOpenAuctionSlots(uint16 newOpenAuctionSlots)

func (*HermezAuctionProtocolFilterer) WatchNewOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewOutbidding(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewOutbidding) (event.Subscription, error)

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

Solidity: event NewOutbidding(uint16 newOutbidding)

func (*HermezAuctionProtocolFilterer) WatchNewSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchNewSlotDeadline(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolNewSlotDeadline) (event.Subscription, error)

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

Solidity: event NewSlotDeadline(uint8 newSlotDeadline)

func (*HermezAuctionProtocolFilterer) WatchSetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolFilterer) WatchSetCoordinator(opts *bind.WatchOpts, sink chan<- *HermezAuctionProtocolSetCoordinator, 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 HermezAuctionProtocolHEZClaimed

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

HermezAuctionProtocolHEZClaimed represents a HEZClaimed event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolHEZClaimedIterator

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

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

func (*HermezAuctionProtocolHEZClaimedIterator) Close

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

func (*HermezAuctionProtocolHEZClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolHEZClaimedIterator) Next

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 HermezAuctionProtocolInitializeHermezAuctionProtocolEvent

type HermezAuctionProtocolInitializeHermezAuctionProtocolEvent 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
}

HermezAuctionProtocolInitializeHermezAuctionProtocolEvent represents a InitializeHermezAuctionProtocolEvent event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolInitializeHermezAuctionProtocolEventIterator

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

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

func (*HermezAuctionProtocolInitializeHermezAuctionProtocolEventIterator) Close

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

func (*HermezAuctionProtocolInitializeHermezAuctionProtocolEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolInitializeHermezAuctionProtocolEventIterator) Next

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 HermezAuctionProtocolNewAllocationRatio

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

HermezAuctionProtocolNewAllocationRatio represents a NewAllocationRatio event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewAllocationRatioIterator

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

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

func (*HermezAuctionProtocolNewAllocationRatioIterator) Close

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

func (*HermezAuctionProtocolNewAllocationRatioIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewAllocationRatioIterator) Next

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 HermezAuctionProtocolNewBid

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

HermezAuctionProtocolNewBid represents a NewBid event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewBidIterator

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

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

func (*HermezAuctionProtocolNewBidIterator) Close

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

func (*HermezAuctionProtocolNewBidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewBidIterator) Next

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 HermezAuctionProtocolNewBootCoordinator

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

HermezAuctionProtocolNewBootCoordinator represents a NewBootCoordinator event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewBootCoordinatorIterator

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

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

func (*HermezAuctionProtocolNewBootCoordinatorIterator) Close

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

func (*HermezAuctionProtocolNewBootCoordinatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewBootCoordinatorIterator) Next

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 HermezAuctionProtocolNewClosedAuctionSlots

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

HermezAuctionProtocolNewClosedAuctionSlots represents a NewClosedAuctionSlots event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewClosedAuctionSlotsIterator

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

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

func (*HermezAuctionProtocolNewClosedAuctionSlotsIterator) Close

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

func (*HermezAuctionProtocolNewClosedAuctionSlotsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewClosedAuctionSlotsIterator) Next

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 HermezAuctionProtocolNewDefaultSlotSetBid

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

HermezAuctionProtocolNewDefaultSlotSetBid represents a NewDefaultSlotSetBid event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewDefaultSlotSetBidIterator

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

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

func (*HermezAuctionProtocolNewDefaultSlotSetBidIterator) Close

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

func (*HermezAuctionProtocolNewDefaultSlotSetBidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewDefaultSlotSetBidIterator) Next

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 HermezAuctionProtocolNewDonationAddress

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

HermezAuctionProtocolNewDonationAddress represents a NewDonationAddress event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewDonationAddressIterator

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

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

func (*HermezAuctionProtocolNewDonationAddressIterator) Close

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

func (*HermezAuctionProtocolNewDonationAddressIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewDonationAddressIterator) Next

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 HermezAuctionProtocolNewForge

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

HermezAuctionProtocolNewForge represents a NewForge event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewForgeAllocated

type HermezAuctionProtocolNewForgeAllocated 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
}

HermezAuctionProtocolNewForgeAllocated represents a NewForgeAllocated event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewForgeAllocatedIterator

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

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

func (*HermezAuctionProtocolNewForgeAllocatedIterator) Close

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

func (*HermezAuctionProtocolNewForgeAllocatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewForgeAllocatedIterator) Next

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 HermezAuctionProtocolNewForgeIterator

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

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

func (*HermezAuctionProtocolNewForgeIterator) Close

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

func (*HermezAuctionProtocolNewForgeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewForgeIterator) Next

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 HermezAuctionProtocolNewOpenAuctionSlots

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

HermezAuctionProtocolNewOpenAuctionSlots represents a NewOpenAuctionSlots event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewOpenAuctionSlotsIterator

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

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

func (*HermezAuctionProtocolNewOpenAuctionSlotsIterator) Close

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

func (*HermezAuctionProtocolNewOpenAuctionSlotsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewOpenAuctionSlotsIterator) Next

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 HermezAuctionProtocolNewOutbidding

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

HermezAuctionProtocolNewOutbidding represents a NewOutbidding event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewOutbiddingIterator

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

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

func (*HermezAuctionProtocolNewOutbiddingIterator) Close

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

func (*HermezAuctionProtocolNewOutbiddingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewOutbiddingIterator) Next

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 HermezAuctionProtocolNewSlotDeadline

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

HermezAuctionProtocolNewSlotDeadline represents a NewSlotDeadline event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolNewSlotDeadlineIterator

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

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

func (*HermezAuctionProtocolNewSlotDeadlineIterator) Close

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

func (*HermezAuctionProtocolNewSlotDeadlineIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolNewSlotDeadlineIterator) Next

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 HermezAuctionProtocolRaw

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

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

func (*HermezAuctionProtocolRaw) Call

func (_HermezAuctionProtocol *HermezAuctionProtocolRaw) 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 (*HermezAuctionProtocolRaw) Transact

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

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

func (*HermezAuctionProtocolRaw) Transfer

func (_HermezAuctionProtocol *HermezAuctionProtocolRaw) 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 HermezAuctionProtocolSession

type HermezAuctionProtocolSession struct {
	Contract     *HermezAuctionProtocol // 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
}

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

func (*HermezAuctionProtocolSession) BLOCKSPERSLOT

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) BLOCKSPERSLOT() (uint8, error)

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

Solidity: function BLOCKS_PER_SLOT() view returns(uint8)

func (*HermezAuctionProtocolSession) BootCoordinatorURL

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) BootCoordinatorURL() (string, error)

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

Solidity: function bootCoordinatorURL() view returns(string)

func (*HermezAuctionProtocolSession) CanForge

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) ChangeDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) ClaimHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) ClaimHEZ() (*types.Transaction, error)

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

Solidity: function claimHEZ() returns()

func (*HermezAuctionProtocolSession) ClaimPendingHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) Coordinators

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) Forge

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GenesisBlock

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GenesisBlock() (*big.Int, error)

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

Solidity: function genesisBlock() view returns(uint128)

func (*HermezAuctionProtocolSession) GetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetAllocationRatio() ([3]uint16, error)

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

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

func (*HermezAuctionProtocolSession) GetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetBootCoordinator() (common.Address, error)

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

Solidity: function getBootCoordinator() view returns(address)

func (*HermezAuctionProtocolSession) GetClaimableHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetClosedAuctionSlots() (uint16, error)

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

Solidity: function getClosedAuctionSlots() view returns(uint16)

func (*HermezAuctionProtocolSession) GetCurrentSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetCurrentSlotNumber() (*big.Int, error)

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

Solidity: function getCurrentSlotNumber() view returns(uint128)

func (*HermezAuctionProtocolSession) GetDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetDonationAddress() (common.Address, error)

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

Solidity: function getDonationAddress() view returns(address)

func (*HermezAuctionProtocolSession) GetMinBidBySlot

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetOpenAuctionSlots() (uint16, error)

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

Solidity: function getOpenAuctionSlots() view returns(uint16)

func (*HermezAuctionProtocolSession) GetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetOutbidding() (uint16, error)

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

Solidity: function getOutbidding() view returns(uint16)

func (*HermezAuctionProtocolSession) GetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GetSlotDeadline() (uint8, error)

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

Solidity: function getSlotDeadline() view returns(uint8)

func (*HermezAuctionProtocolSession) GetSlotNumber

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GetSlotSet

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) GovernanceAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) GovernanceAddress() (common.Address, error)

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

Solidity: function governanceAddress() view returns(address)

func (*HermezAuctionProtocolSession) HermezAuctionProtocolInitializer

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) HermezRollup

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) HermezRollup() (common.Address, error)

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

Solidity: function hermezRollup() view returns(address)

func (*HermezAuctionProtocolSession) INITIALMINIMALBIDDING

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) PendingBalances

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) ProcessBid

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) ProcessMultiBid

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) SetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) SetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) SetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) SetClosedAuctionSlots(newClosedAuctionSlots uint16) (*types.Transaction, error)

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

Solidity: function setClosedAuctionSlots(uint16 newClosedAuctionSlots) returns()

func (*HermezAuctionProtocolSession) SetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) SetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) SetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) SetOpenAuctionSlots(newOpenAuctionSlots uint16) (*types.Transaction, error)

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

Solidity: function setOpenAuctionSlots(uint16 newOpenAuctionSlots) returns()

func (*HermezAuctionProtocolSession) SetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) SetOutbidding(newOutbidding uint16) (*types.Transaction, error)

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

Solidity: function setOutbidding(uint16 newOutbidding) returns()

func (*HermezAuctionProtocolSession) SetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) SetSlotDeadline(newDeadline uint8) (*types.Transaction, error)

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

Solidity: function setSlotDeadline(uint8 newDeadline) returns()

func (*HermezAuctionProtocolSession) Slots

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) 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 (*HermezAuctionProtocolSession) TokenHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolSession) TokenHEZ() (common.Address, error)

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

Solidity: function tokenHEZ() view returns(address)

type HermezAuctionProtocolSetCoordinator

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

HermezAuctionProtocolSetCoordinator represents a SetCoordinator event raised by the HermezAuctionProtocol contract.

type HermezAuctionProtocolSetCoordinatorIterator

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

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

func (*HermezAuctionProtocolSetCoordinatorIterator) Close

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

func (*HermezAuctionProtocolSetCoordinatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HermezAuctionProtocolSetCoordinatorIterator) Next

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 HermezAuctionProtocolTransactor

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

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

func NewHermezAuctionProtocolTransactor

func NewHermezAuctionProtocolTransactor(address common.Address, transactor bind.ContractTransactor) (*HermezAuctionProtocolTransactor, error)

NewHermezAuctionProtocolTransactor creates a new write-only instance of HermezAuctionProtocol, bound to a specific deployed contract.

func (*HermezAuctionProtocolTransactor) ChangeDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) ClaimHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) ClaimHEZ(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimHEZ() returns()

func (*HermezAuctionProtocolTransactor) ClaimPendingHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) Forge

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) HermezAuctionProtocolInitializer

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) ProcessBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) ProcessMultiBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 (*HermezAuctionProtocolTransactor) SetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactor) 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 HermezAuctionProtocolTransactorRaw

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

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

func (*HermezAuctionProtocolTransactorRaw) Transact

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

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

func (*HermezAuctionProtocolTransactorRaw) Transfer

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorRaw) 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 HermezAuctionProtocolTransactorSession

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

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

func (*HermezAuctionProtocolTransactorSession) ChangeDefaultSlotSetBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) ClaimHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) ClaimHEZ() (*types.Transaction, error)

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

Solidity: function claimHEZ() returns()

func (*HermezAuctionProtocolTransactorSession) ClaimPendingHEZ

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) Forge

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) HermezAuctionProtocolInitializer

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) ProcessBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) ProcessMultiBid

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) SetAllocationRatio

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) SetBootCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) SetClosedAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) SetClosedAuctionSlots(newClosedAuctionSlots uint16) (*types.Transaction, error)

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

Solidity: function setClosedAuctionSlots(uint16 newClosedAuctionSlots) returns()

func (*HermezAuctionProtocolTransactorSession) SetCoordinator

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) SetDonationAddress

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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 (*HermezAuctionProtocolTransactorSession) SetOpenAuctionSlots

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) SetOpenAuctionSlots(newOpenAuctionSlots uint16) (*types.Transaction, error)

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

Solidity: function setOpenAuctionSlots(uint16 newOpenAuctionSlots) returns()

func (*HermezAuctionProtocolTransactorSession) SetOutbidding

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) SetOutbidding(newOutbidding uint16) (*types.Transaction, error)

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

Solidity: function setOutbidding(uint16 newOutbidding) returns()

func (*HermezAuctionProtocolTransactorSession) SetSlotDeadline

func (_HermezAuctionProtocol *HermezAuctionProtocolTransactorSession) 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