seq_sale_erc1155

package
v0.60.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SaleABI = SaleMetaData.ABI

SaleABI is the input ABI used to generate the binding from. Deprecated: Use SaleMetaData.ABI instead.

View Source
var SaleMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"globalSaleDetails\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIERC1155SaleFunctions.SaleDetails\",\"components\":[{\"name\":\"cost\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"supplyCap\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"startTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"endTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"merkleRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"paymentToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"maxTotal\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"proof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"paymentToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenSaleDetails\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIERC1155SaleFunctions.SaleDetails\",\"components\":[{\"name\":\"cost\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"supplyCap\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"startTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"endTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"merkleRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenSaleDetailsBatch\",\"inputs\":[{\"name\":\"tokenIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structIERC1155SaleFunctions.SaleDetails[]\",\"components\":[{\"name\":\"cost\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"supplyCap\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"startTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"endTime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"merkleRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"GlobalSaleDetailsUpdated\",\"inputs\":[{\"name\":\"cost\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"supplyCap\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"startTime\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"endTime\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"merkleRoot\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ItemsMinted\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"tokenIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenSaleDetailsUpdated\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"cost\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"supplyCap\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"startTime\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"endTime\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"merkleRoot\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"GlobalSaleInactive\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientPayment\",\"inputs\":[{\"name\":\"currency\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientSupply\",\"inputs\":[{\"name\":\"currentSupply\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"requestedAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxSupply\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidSaleDetails\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTokenIds\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SaleInactive\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]",
}

SaleMetaData contains all meta data concerning the Sale contract.

Functions

This section is empty.

Types

type IERC1155SaleFunctionsSaleDetails

type IERC1155SaleFunctionsSaleDetails struct {
	Cost       *big.Int
	SupplyCap  *big.Int
	StartTime  uint64
	EndTime    uint64
	MerkleRoot [32]byte
}

IERC1155SaleFunctionsSaleDetails is an auto generated low-level Go binding around an user-defined struct.

type Sale

type Sale struct {
	SaleCaller     // Read-only binding to the contract
	SaleTransactor // Write-only binding to the contract
	SaleFilterer   // Log filterer for contract events
}

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

func NewSale

func NewSale(address common.Address, backend bind.ContractBackend) (*Sale, error)

NewSale creates a new instance of Sale, bound to a specific deployed contract.

type SaleCaller

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

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

func NewSaleCaller

func NewSaleCaller(address common.Address, caller bind.ContractCaller) (*SaleCaller, error)

NewSaleCaller creates a new read-only instance of Sale, bound to a specific deployed contract.

func (*SaleCaller) GlobalSaleDetails

func (_Sale *SaleCaller) GlobalSaleDetails(opts *bind.CallOpts) (IERC1155SaleFunctionsSaleDetails, error)

GlobalSaleDetails is a free data retrieval call binding the contract method 0x119cd50c.

Solidity: function globalSaleDetails() view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleCaller) PaymentToken

func (_Sale *SaleCaller) PaymentToken(opts *bind.CallOpts) (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*SaleCaller) TokenSaleDetails

func (_Sale *SaleCaller) TokenSaleDetails(opts *bind.CallOpts, tokenId *big.Int) (IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetails is a free data retrieval call binding the contract method 0x0869678c.

Solidity: function tokenSaleDetails(uint256 tokenId) view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleCaller) TokenSaleDetailsBatch

func (_Sale *SaleCaller) TokenSaleDetailsBatch(opts *bind.CallOpts, tokenIds []*big.Int) ([]IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetailsBatch is a free data retrieval call binding the contract method 0xff81434e.

Solidity: function tokenSaleDetailsBatch(uint256[] tokenIds) view returns((uint256,uint256,uint64,uint64,bytes32)[])

type SaleCallerRaw

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

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

func (*SaleCallerRaw) Call

func (_Sale *SaleCallerRaw) 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 SaleCallerSession

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

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

func (*SaleCallerSession) GlobalSaleDetails

func (_Sale *SaleCallerSession) GlobalSaleDetails() (IERC1155SaleFunctionsSaleDetails, error)

GlobalSaleDetails is a free data retrieval call binding the contract method 0x119cd50c.

Solidity: function globalSaleDetails() view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleCallerSession) PaymentToken

func (_Sale *SaleCallerSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*SaleCallerSession) TokenSaleDetails

func (_Sale *SaleCallerSession) TokenSaleDetails(tokenId *big.Int) (IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetails is a free data retrieval call binding the contract method 0x0869678c.

Solidity: function tokenSaleDetails(uint256 tokenId) view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleCallerSession) TokenSaleDetailsBatch

func (_Sale *SaleCallerSession) TokenSaleDetailsBatch(tokenIds []*big.Int) ([]IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetailsBatch is a free data retrieval call binding the contract method 0xff81434e.

Solidity: function tokenSaleDetailsBatch(uint256[] tokenIds) view returns((uint256,uint256,uint64,uint64,bytes32)[])

type SaleFilterer

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

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

func NewSaleFilterer

func NewSaleFilterer(address common.Address, filterer bind.ContractFilterer) (*SaleFilterer, error)

NewSaleFilterer creates a new log filterer instance of Sale, bound to a specific deployed contract.

func (*SaleFilterer) FilterGlobalSaleDetailsUpdated

func (_Sale *SaleFilterer) FilterGlobalSaleDetailsUpdated(opts *bind.FilterOpts) (*SaleGlobalSaleDetailsUpdatedIterator, error)

FilterGlobalSaleDetailsUpdated is a free log retrieval operation binding the contract event 0x8fd3ac39fbb3d5e9c906dd9ec439dc6e584b8fa3ce02d5b67d589b22b22152a9.

Solidity: event GlobalSaleDetailsUpdated(uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

func (*SaleFilterer) FilterItemsMinted

func (_Sale *SaleFilterer) FilterItemsMinted(opts *bind.FilterOpts) (*SaleItemsMintedIterator, error)

FilterItemsMinted is a free log retrieval operation binding the contract event 0x23519238b590c499a2abcf44a33b5f431ac6ca51c22fad26bc2c3d08b97eaa21.

Solidity: event ItemsMinted(address to, uint256[] tokenIds, uint256[] amounts)

func (*SaleFilterer) FilterTokenSaleDetailsUpdated

func (_Sale *SaleFilterer) FilterTokenSaleDetailsUpdated(opts *bind.FilterOpts) (*SaleTokenSaleDetailsUpdatedIterator, error)

FilterTokenSaleDetailsUpdated is a free log retrieval operation binding the contract event 0x8ced76aee4b96a1e218e7903610fc7d648023d9075677163a5b31396cb280f96.

Solidity: event TokenSaleDetailsUpdated(uint256 tokenId, uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

func (*SaleFilterer) ParseGlobalSaleDetailsUpdated

func (_Sale *SaleFilterer) ParseGlobalSaleDetailsUpdated(log types.Log) (*SaleGlobalSaleDetailsUpdated, error)

ParseGlobalSaleDetailsUpdated is a log parse operation binding the contract event 0x8fd3ac39fbb3d5e9c906dd9ec439dc6e584b8fa3ce02d5b67d589b22b22152a9.

Solidity: event GlobalSaleDetailsUpdated(uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

func (*SaleFilterer) ParseItemsMinted

func (_Sale *SaleFilterer) ParseItemsMinted(log types.Log) (*SaleItemsMinted, error)

ParseItemsMinted is a log parse operation binding the contract event 0x23519238b590c499a2abcf44a33b5f431ac6ca51c22fad26bc2c3d08b97eaa21.

Solidity: event ItemsMinted(address to, uint256[] tokenIds, uint256[] amounts)

func (*SaleFilterer) ParseTokenSaleDetailsUpdated

func (_Sale *SaleFilterer) ParseTokenSaleDetailsUpdated(log types.Log) (*SaleTokenSaleDetailsUpdated, error)

ParseTokenSaleDetailsUpdated is a log parse operation binding the contract event 0x8ced76aee4b96a1e218e7903610fc7d648023d9075677163a5b31396cb280f96.

Solidity: event TokenSaleDetailsUpdated(uint256 tokenId, uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

func (*SaleFilterer) WatchGlobalSaleDetailsUpdated

func (_Sale *SaleFilterer) WatchGlobalSaleDetailsUpdated(opts *bind.WatchOpts, sink chan<- *SaleGlobalSaleDetailsUpdated) (event.Subscription, error)

WatchGlobalSaleDetailsUpdated is a free log subscription operation binding the contract event 0x8fd3ac39fbb3d5e9c906dd9ec439dc6e584b8fa3ce02d5b67d589b22b22152a9.

Solidity: event GlobalSaleDetailsUpdated(uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

func (*SaleFilterer) WatchItemsMinted

func (_Sale *SaleFilterer) WatchItemsMinted(opts *bind.WatchOpts, sink chan<- *SaleItemsMinted) (event.Subscription, error)

WatchItemsMinted is a free log subscription operation binding the contract event 0x23519238b590c499a2abcf44a33b5f431ac6ca51c22fad26bc2c3d08b97eaa21.

Solidity: event ItemsMinted(address to, uint256[] tokenIds, uint256[] amounts)

func (*SaleFilterer) WatchTokenSaleDetailsUpdated

func (_Sale *SaleFilterer) WatchTokenSaleDetailsUpdated(opts *bind.WatchOpts, sink chan<- *SaleTokenSaleDetailsUpdated) (event.Subscription, error)

WatchTokenSaleDetailsUpdated is a free log subscription operation binding the contract event 0x8ced76aee4b96a1e218e7903610fc7d648023d9075677163a5b31396cb280f96.

Solidity: event TokenSaleDetailsUpdated(uint256 tokenId, uint256 cost, uint256 supplyCap, uint64 startTime, uint64 endTime, bytes32 merkleRoot)

type SaleGlobalSaleDetailsUpdated

type SaleGlobalSaleDetailsUpdated struct {
	Cost       *big.Int
	SupplyCap  *big.Int
	StartTime  uint64
	EndTime    uint64
	MerkleRoot [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

SaleGlobalSaleDetailsUpdated represents a GlobalSaleDetailsUpdated event raised by the Sale contract.

type SaleGlobalSaleDetailsUpdatedIterator

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

SaleGlobalSaleDetailsUpdatedIterator is returned from FilterGlobalSaleDetailsUpdated and is used to iterate over the raw logs and unpacked data for GlobalSaleDetailsUpdated events raised by the Sale contract.

func (*SaleGlobalSaleDetailsUpdatedIterator) Close

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

func (*SaleGlobalSaleDetailsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SaleGlobalSaleDetailsUpdatedIterator) 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 SaleItemsMinted

type SaleItemsMinted struct {
	To       common.Address
	TokenIds []*big.Int
	Amounts  []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

SaleItemsMinted represents a ItemsMinted event raised by the Sale contract.

type SaleItemsMintedIterator

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

SaleItemsMintedIterator is returned from FilterItemsMinted and is used to iterate over the raw logs and unpacked data for ItemsMinted events raised by the Sale contract.

func (*SaleItemsMintedIterator) Close

func (it *SaleItemsMintedIterator) Close() error

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

func (*SaleItemsMintedIterator) Error

func (it *SaleItemsMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SaleItemsMintedIterator) Next

func (it *SaleItemsMintedIterator) 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 SaleRaw

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

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

func (*SaleRaw) Call

func (_Sale *SaleRaw) 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 (*SaleRaw) Transact

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

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

func (*SaleRaw) Transfer

func (_Sale *SaleRaw) 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 SaleSession

type SaleSession struct {
	Contract     *Sale             // 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
}

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

func (*SaleSession) GlobalSaleDetails

func (_Sale *SaleSession) GlobalSaleDetails() (IERC1155SaleFunctionsSaleDetails, error)

GlobalSaleDetails is a free data retrieval call binding the contract method 0x119cd50c.

Solidity: function globalSaleDetails() view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleSession) Mint

func (_Sale *SaleSession) Mint(to common.Address, tokenIds []*big.Int, amounts []*big.Int, data []byte, paymentToken common.Address, maxTotal *big.Int, proof [][32]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x60e606f6.

Solidity: function mint(address to, uint256[] tokenIds, uint256[] amounts, bytes data, address paymentToken, uint256 maxTotal, bytes32[] proof) payable returns()

func (*SaleSession) PaymentToken

func (_Sale *SaleSession) PaymentToken() (common.Address, error)

PaymentToken is a free data retrieval call binding the contract method 0x3013ce29.

Solidity: function paymentToken() view returns(address)

func (*SaleSession) TokenSaleDetails

func (_Sale *SaleSession) TokenSaleDetails(tokenId *big.Int) (IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetails is a free data retrieval call binding the contract method 0x0869678c.

Solidity: function tokenSaleDetails(uint256 tokenId) view returns((uint256,uint256,uint64,uint64,bytes32))

func (*SaleSession) TokenSaleDetailsBatch

func (_Sale *SaleSession) TokenSaleDetailsBatch(tokenIds []*big.Int) ([]IERC1155SaleFunctionsSaleDetails, error)

TokenSaleDetailsBatch is a free data retrieval call binding the contract method 0xff81434e.

Solidity: function tokenSaleDetailsBatch(uint256[] tokenIds) view returns((uint256,uint256,uint64,uint64,bytes32)[])

type SaleTokenSaleDetailsUpdated

type SaleTokenSaleDetailsUpdated struct {
	TokenId    *big.Int
	Cost       *big.Int
	SupplyCap  *big.Int
	StartTime  uint64
	EndTime    uint64
	MerkleRoot [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

SaleTokenSaleDetailsUpdated represents a TokenSaleDetailsUpdated event raised by the Sale contract.

type SaleTokenSaleDetailsUpdatedIterator

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

SaleTokenSaleDetailsUpdatedIterator is returned from FilterTokenSaleDetailsUpdated and is used to iterate over the raw logs and unpacked data for TokenSaleDetailsUpdated events raised by the Sale contract.

func (*SaleTokenSaleDetailsUpdatedIterator) Close

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

func (*SaleTokenSaleDetailsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SaleTokenSaleDetailsUpdatedIterator) 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 SaleTransactor

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

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

func NewSaleTransactor

func NewSaleTransactor(address common.Address, transactor bind.ContractTransactor) (*SaleTransactor, error)

NewSaleTransactor creates a new write-only instance of Sale, bound to a specific deployed contract.

func (*SaleTransactor) Mint

func (_Sale *SaleTransactor) Mint(opts *bind.TransactOpts, to common.Address, tokenIds []*big.Int, amounts []*big.Int, data []byte, paymentToken common.Address, maxTotal *big.Int, proof [][32]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x60e606f6.

Solidity: function mint(address to, uint256[] tokenIds, uint256[] amounts, bytes data, address paymentToken, uint256 maxTotal, bytes32[] proof) payable returns()

type SaleTransactorRaw

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

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

func (*SaleTransactorRaw) Transact

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

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

func (*SaleTransactorRaw) Transfer

func (_Sale *SaleTransactorRaw) 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 SaleTransactorSession

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

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

func (*SaleTransactorSession) Mint

func (_Sale *SaleTransactorSession) Mint(to common.Address, tokenIds []*big.Int, amounts []*big.Int, data []byte, paymentToken common.Address, maxTotal *big.Int, proof [][32]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x60e606f6.

Solidity: function mint(address to, uint256[] tokenIds, uint256[] amounts, bytes data, address paymentToken, uint256 maxTotal, bytes32[] proof) payable returns()

Jump to

Keyboard shortcuts

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