embersward

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const EmberswardNFTABI = "" /* 10122-byte string literal not displayed */

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

View Source
const EmberswardSaleABI = "" /* 8044-byte string literal not displayed */

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

Variables

This section is empty.

Functions

func Collect

func Collect(list []int) []*big.Int

func MintNFT

func MintNFT(x int, y int, data string, to string) (string, error)

func Purchase

func Purchase(id int, buyer string) (string, error)

func PurchaseParcel

func PurchaseParcel(id []int, buyer string) (string, error)

Types

type EmberswardNFT

type EmberswardNFT struct {
	EmberswardNFTCaller     // Read-only binding to the contract
	EmberswardNFTTransactor // Write-only binding to the contract
	EmberswardNFTFilterer   // Log filterer for contract events
}

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

func NewEmberswardNFT

func NewEmberswardNFT(address common.Address, backend bind.ContractBackend) (*EmberswardNFT, error)

NewEmberswardNFT creates a new instance of EmberswardNFT, bound to a specific deployed contract.

type EmberswardNFTAdminChanged

type EmberswardNFTAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

EmberswardNFTAdminChanged represents a AdminChanged event raised by the EmberswardNFT contract.

type EmberswardNFTAdminChangedIterator

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

EmberswardNFTAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the EmberswardNFT contract.

func (*EmberswardNFTAdminChangedIterator) Close

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

func (*EmberswardNFTAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTAdminChangedIterator) 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 EmberswardNFTApproval

type EmberswardNFTApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

EmberswardNFTApproval represents a Approval event raised by the EmberswardNFT contract.

type EmberswardNFTApprovalForAll

type EmberswardNFTApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

EmberswardNFTApprovalForAll represents a ApprovalForAll event raised by the EmberswardNFT contract.

type EmberswardNFTApprovalForAllIterator

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

EmberswardNFTApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the EmberswardNFT contract.

func (*EmberswardNFTApprovalForAllIterator) Close

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

func (*EmberswardNFTApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTApprovalForAllIterator) 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 EmberswardNFTApprovalIterator

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

EmberswardNFTApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the EmberswardNFT contract.

func (*EmberswardNFTApprovalIterator) Close

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

func (*EmberswardNFTApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTApprovalIterator) 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 EmberswardNFTBeaconUpgraded

type EmberswardNFTBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

EmberswardNFTBeaconUpgraded represents a BeaconUpgraded event raised by the EmberswardNFT contract.

type EmberswardNFTBeaconUpgradedIterator

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

EmberswardNFTBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the EmberswardNFT contract.

func (*EmberswardNFTBeaconUpgradedIterator) Close

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

func (*EmberswardNFTBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTBeaconUpgradedIterator) 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 EmberswardNFTCaller

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

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

func NewEmberswardNFTCaller

func NewEmberswardNFTCaller(address common.Address, caller bind.ContractCaller) (*EmberswardNFTCaller, error)

NewEmberswardNFTCaller creates a new read-only instance of EmberswardNFT, bound to a specific deployed contract.

func (*EmberswardNFTCaller) BalanceOf

func (_EmberswardNFT *EmberswardNFTCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EmberswardNFTCaller) DEFAULTADMINROLE

func (_EmberswardNFT *EmberswardNFTCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardNFTCaller) GetApproved

func (_EmberswardNFT *EmberswardNFTCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EmberswardNFTCaller) GetRoleAdmin

func (_EmberswardNFT *EmberswardNFTCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardNFTCaller) GetTokenIdByCoordinates

func (_EmberswardNFT *EmberswardNFTCaller) GetTokenIdByCoordinates(opts *bind.CallOpts, x *big.Int, y *big.Int) (*big.Int, error)

GetTokenIdByCoordinates is a free data retrieval call binding the contract method 0x759eeb88.

Solidity: function getTokenIdByCoordinates(uint256 x, uint256 y) view returns(uint256)

func (*EmberswardNFTCaller) HasRole

func (_EmberswardNFT *EmberswardNFTCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardNFTCaller) IsApprovedForAll

func (_EmberswardNFT *EmberswardNFTCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*EmberswardNFTCaller) IsTrustedForwarder

func (_EmberswardNFT *EmberswardNFTCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardNFTCaller) MINTERROLE

func (_EmberswardNFT *EmberswardNFTCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*EmberswardNFTCaller) Name

func (_EmberswardNFT *EmberswardNFTCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EmberswardNFTCaller) OwnerOf

func (_EmberswardNFT *EmberswardNFTCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EmberswardNFTCaller) SupportsInterface

func (_EmberswardNFT *EmberswardNFTCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*EmberswardNFTCaller) Symbol

func (_EmberswardNFT *EmberswardNFTCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*EmberswardNFTCaller) T1

func (_EmberswardNFT *EmberswardNFTCaller) T1(opts *bind.CallOpts) (*big.Int, error)

T1 is a free data retrieval call binding the contract method 0xa11efef4.

Solidity: function T1() view returns(uint256)

func (*EmberswardNFTCaller) TokenURI

func (_EmberswardNFT *EmberswardNFTCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type EmberswardNFTCallerRaw

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

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

func (*EmberswardNFTCallerRaw) Call

func (_EmberswardNFT *EmberswardNFTCallerRaw) 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 EmberswardNFTCallerSession

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

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

func (*EmberswardNFTCallerSession) BalanceOf

func (_EmberswardNFT *EmberswardNFTCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EmberswardNFTCallerSession) DEFAULTADMINROLE

func (_EmberswardNFT *EmberswardNFTCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardNFTCallerSession) GetApproved

func (_EmberswardNFT *EmberswardNFTCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EmberswardNFTCallerSession) GetRoleAdmin

func (_EmberswardNFT *EmberswardNFTCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardNFTCallerSession) GetTokenIdByCoordinates

func (_EmberswardNFT *EmberswardNFTCallerSession) GetTokenIdByCoordinates(x *big.Int, y *big.Int) (*big.Int, error)

GetTokenIdByCoordinates is a free data retrieval call binding the contract method 0x759eeb88.

Solidity: function getTokenIdByCoordinates(uint256 x, uint256 y) view returns(uint256)

func (*EmberswardNFTCallerSession) HasRole

func (_EmberswardNFT *EmberswardNFTCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardNFTCallerSession) IsApprovedForAll

func (_EmberswardNFT *EmberswardNFTCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*EmberswardNFTCallerSession) IsTrustedForwarder

func (_EmberswardNFT *EmberswardNFTCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardNFTCallerSession) MINTERROLE

func (_EmberswardNFT *EmberswardNFTCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*EmberswardNFTCallerSession) Name

func (_EmberswardNFT *EmberswardNFTCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EmberswardNFTCallerSession) OwnerOf

func (_EmberswardNFT *EmberswardNFTCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EmberswardNFTCallerSession) SupportsInterface

func (_EmberswardNFT *EmberswardNFTCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*EmberswardNFTCallerSession) Symbol

func (_EmberswardNFT *EmberswardNFTCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*EmberswardNFTCallerSession) T1

func (_EmberswardNFT *EmberswardNFTCallerSession) T1() (*big.Int, error)

T1 is a free data retrieval call binding the contract method 0xa11efef4.

Solidity: function T1() view returns(uint256)

func (*EmberswardNFTCallerSession) TokenURI

func (_EmberswardNFT *EmberswardNFTCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type EmberswardNFTFilterer

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

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

func NewEmberswardNFTFilterer

func NewEmberswardNFTFilterer(address common.Address, filterer bind.ContractFilterer) (*EmberswardNFTFilterer, error)

NewEmberswardNFTFilterer creates a new log filterer instance of EmberswardNFT, bound to a specific deployed contract.

func (*EmberswardNFTFilterer) FilterAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*EmberswardNFTAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardNFTFilterer) FilterApproval

func (_EmberswardNFT *EmberswardNFTFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*EmberswardNFTApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) FilterApprovalForAll

func (_EmberswardNFT *EmberswardNFTFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*EmberswardNFTApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*EmberswardNFTFilterer) FilterBeaconUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*EmberswardNFTBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardNFTFilterer) FilterRoleAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*EmberswardNFTRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardNFTFilterer) FilterRoleGranted

func (_EmberswardNFT *EmberswardNFTFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*EmberswardNFTRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) FilterRoleRevoked

func (_EmberswardNFT *EmberswardNFTFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*EmberswardNFTRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) FilterTransfer

func (_EmberswardNFT *EmberswardNFTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*EmberswardNFTTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) FilterUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*EmberswardNFTUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*EmberswardNFTFilterer) ParseAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) ParseAdminChanged(log types.Log) (*EmberswardNFTAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardNFTFilterer) ParseApproval

func (_EmberswardNFT *EmberswardNFTFilterer) ParseApproval(log types.Log) (*EmberswardNFTApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) ParseApprovalForAll

func (_EmberswardNFT *EmberswardNFTFilterer) ParseApprovalForAll(log types.Log) (*EmberswardNFTApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*EmberswardNFTFilterer) ParseBeaconUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) ParseBeaconUpgraded(log types.Log) (*EmberswardNFTBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardNFTFilterer) ParseRoleAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) ParseRoleAdminChanged(log types.Log) (*EmberswardNFTRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardNFTFilterer) ParseRoleGranted

func (_EmberswardNFT *EmberswardNFTFilterer) ParseRoleGranted(log types.Log) (*EmberswardNFTRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) ParseRoleRevoked

func (_EmberswardNFT *EmberswardNFTFilterer) ParseRoleRevoked(log types.Log) (*EmberswardNFTRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) ParseTransfer

func (_EmberswardNFT *EmberswardNFTFilterer) ParseTransfer(log types.Log) (*EmberswardNFTTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) ParseUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) ParseUpgraded(log types.Log) (*EmberswardNFTUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*EmberswardNFTFilterer) WatchAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *EmberswardNFTAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardNFTFilterer) WatchApproval

func (_EmberswardNFT *EmberswardNFTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EmberswardNFTApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) WatchApprovalForAll

func (_EmberswardNFT *EmberswardNFTFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *EmberswardNFTApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*EmberswardNFTFilterer) WatchBeaconUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *EmberswardNFTBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardNFTFilterer) WatchRoleAdminChanged

func (_EmberswardNFT *EmberswardNFTFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *EmberswardNFTRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardNFTFilterer) WatchRoleGranted

func (_EmberswardNFT *EmberswardNFTFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *EmberswardNFTRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) WatchRoleRevoked

func (_EmberswardNFT *EmberswardNFTFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *EmberswardNFTRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardNFTFilterer) WatchTransfer

func (_EmberswardNFT *EmberswardNFTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EmberswardNFTTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*EmberswardNFTFilterer) WatchUpgraded

func (_EmberswardNFT *EmberswardNFTFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *EmberswardNFTUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type EmberswardNFTRaw

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

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

func (*EmberswardNFTRaw) Call

func (_EmberswardNFT *EmberswardNFTRaw) 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 (*EmberswardNFTRaw) Transact

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

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

func (*EmberswardNFTRaw) Transfer

func (_EmberswardNFT *EmberswardNFTRaw) 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 EmberswardNFTRoleAdminChanged

type EmberswardNFTRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

EmberswardNFTRoleAdminChanged represents a RoleAdminChanged event raised by the EmberswardNFT contract.

type EmberswardNFTRoleAdminChangedIterator

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

EmberswardNFTRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the EmberswardNFT contract.

func (*EmberswardNFTRoleAdminChangedIterator) Close

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

func (*EmberswardNFTRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTRoleAdminChangedIterator) 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 EmberswardNFTRoleGranted

type EmberswardNFTRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardNFTRoleGranted represents a RoleGranted event raised by the EmberswardNFT contract.

type EmberswardNFTRoleGrantedIterator

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

EmberswardNFTRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the EmberswardNFT contract.

func (*EmberswardNFTRoleGrantedIterator) Close

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

func (*EmberswardNFTRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTRoleGrantedIterator) 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 EmberswardNFTRoleRevoked

type EmberswardNFTRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardNFTRoleRevoked represents a RoleRevoked event raised by the EmberswardNFT contract.

type EmberswardNFTRoleRevokedIterator

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

EmberswardNFTRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the EmberswardNFT contract.

func (*EmberswardNFTRoleRevokedIterator) Close

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

func (*EmberswardNFTRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTRoleRevokedIterator) 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 EmberswardNFTSession

type EmberswardNFTSession struct {
	Contract     *EmberswardNFT    // 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
}

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

func (*EmberswardNFTSession) Approve

func (_EmberswardNFT *EmberswardNFTSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EmberswardNFTSession) BalanceOf

func (_EmberswardNFT *EmberswardNFTSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*EmberswardNFTSession) BatchTransferFrom

func (_EmberswardNFT *EmberswardNFTSession) BatchTransferFrom(from common.Address, to common.Address, tokenIds []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xf3993d11.

Solidity: function batchTransferFrom(address from, address to, uint256[] tokenIds) returns()

func (*EmberswardNFTSession) DEFAULTADMINROLE

func (_EmberswardNFT *EmberswardNFTSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardNFTSession) GetApproved

func (_EmberswardNFT *EmberswardNFTSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*EmberswardNFTSession) GetRoleAdmin

func (_EmberswardNFT *EmberswardNFTSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardNFTSession) GetTokenIdByCoordinates

func (_EmberswardNFT *EmberswardNFTSession) GetTokenIdByCoordinates(x *big.Int, y *big.Int) (*big.Int, error)

GetTokenIdByCoordinates is a free data retrieval call binding the contract method 0x759eeb88.

Solidity: function getTokenIdByCoordinates(uint256 x, uint256 y) view returns(uint256)

func (*EmberswardNFTSession) GrantRole

func (_EmberswardNFT *EmberswardNFTSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardNFTSession) HasRole

func (_EmberswardNFT *EmberswardNFTSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardNFTSession) Initialize

func (_EmberswardNFT *EmberswardNFTSession) Initialize(_forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _forwarder) returns()

func (*EmberswardNFTSession) IsApprovedForAll

func (_EmberswardNFT *EmberswardNFTSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*EmberswardNFTSession) IsTrustedForwarder

func (_EmberswardNFT *EmberswardNFTSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardNFTSession) MINTERROLE

func (_EmberswardNFT *EmberswardNFTSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*EmberswardNFTSession) MintProperty

func (_EmberswardNFT *EmberswardNFTSession) MintProperty(recipient common.Address, x *big.Int, y *big.Int, data string) (*types.Transaction, error)

MintProperty is a paid mutator transaction binding the contract method 0xb6a6b83f.

Solidity: function mintProperty(address recipient, uint256 x, uint256 y, string data) returns(uint256)

func (*EmberswardNFTSession) Name

func (_EmberswardNFT *EmberswardNFTSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*EmberswardNFTSession) OwnerOf

func (_EmberswardNFT *EmberswardNFTSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*EmberswardNFTSession) RenounceRole

func (_EmberswardNFT *EmberswardNFTSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardNFTSession) RevokeRole

func (_EmberswardNFT *EmberswardNFTSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardNFTSession) SafeTransferFrom

func (_EmberswardNFT *EmberswardNFTSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTSession) SafeTransferFrom0

func (_EmberswardNFT *EmberswardNFTSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EmberswardNFTSession) SetApprovalForAll

func (_EmberswardNFT *EmberswardNFTSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*EmberswardNFTSession) SupportsInterface

func (_EmberswardNFT *EmberswardNFTSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*EmberswardNFTSession) Symbol

func (_EmberswardNFT *EmberswardNFTSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*EmberswardNFTSession) T1

func (_EmberswardNFT *EmberswardNFTSession) T1() (*big.Int, error)

T1 is a free data retrieval call binding the contract method 0xa11efef4.

Solidity: function T1() view returns(uint256)

func (*EmberswardNFTSession) TokenURI

func (_EmberswardNFT *EmberswardNFTSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*EmberswardNFTSession) TransferFrom

func (_EmberswardNFT *EmberswardNFTSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTSession) UpdateForwarder

func (_EmberswardNFT *EmberswardNFTSession) UpdateForwarder(_newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardNFTSession) UpgradeTo

func (_EmberswardNFT *EmberswardNFTSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardNFTSession) UpgradeToAndCall

func (_EmberswardNFT *EmberswardNFTSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardNFTTransactor

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

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

func NewEmberswardNFTTransactor

func NewEmberswardNFTTransactor(address common.Address, transactor bind.ContractTransactor) (*EmberswardNFTTransactor, error)

NewEmberswardNFTTransactor creates a new write-only instance of EmberswardNFT, bound to a specific deployed contract.

func (*EmberswardNFTTransactor) Approve

func (_EmberswardNFT *EmberswardNFTTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactor) BatchTransferFrom

func (_EmberswardNFT *EmberswardNFTTransactor) BatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenIds []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xf3993d11.

Solidity: function batchTransferFrom(address from, address to, uint256[] tokenIds) returns()

func (*EmberswardNFTTransactor) GrantRole

func (_EmberswardNFT *EmberswardNFTTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactor) Initialize

func (_EmberswardNFT *EmberswardNFTTransactor) Initialize(opts *bind.TransactOpts, _forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _forwarder) returns()

func (*EmberswardNFTTransactor) MintProperty

func (_EmberswardNFT *EmberswardNFTTransactor) MintProperty(opts *bind.TransactOpts, recipient common.Address, x *big.Int, y *big.Int, data string) (*types.Transaction, error)

MintProperty is a paid mutator transaction binding the contract method 0xb6a6b83f.

Solidity: function mintProperty(address recipient, uint256 x, uint256 y, string data) returns(uint256)

func (*EmberswardNFTTransactor) RenounceRole

func (_EmberswardNFT *EmberswardNFTTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactor) RevokeRole

func (_EmberswardNFT *EmberswardNFTTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactor) SafeTransferFrom

func (_EmberswardNFT *EmberswardNFTTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactor) SafeTransferFrom0

func (_EmberswardNFT *EmberswardNFTTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EmberswardNFTTransactor) SetApprovalForAll

func (_EmberswardNFT *EmberswardNFTTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*EmberswardNFTTransactor) TransferFrom

func (_EmberswardNFT *EmberswardNFTTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactor) UpdateForwarder

func (_EmberswardNFT *EmberswardNFTTransactor) UpdateForwarder(opts *bind.TransactOpts, _newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardNFTTransactor) UpgradeTo

func (_EmberswardNFT *EmberswardNFTTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardNFTTransactor) UpgradeToAndCall

func (_EmberswardNFT *EmberswardNFTTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardNFTTransactorRaw

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

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

func (*EmberswardNFTTransactorRaw) Transact

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

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

func (*EmberswardNFTTransactorRaw) Transfer

func (_EmberswardNFT *EmberswardNFTTransactorRaw) 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 EmberswardNFTTransactorSession

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

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

func (*EmberswardNFTTransactorSession) Approve

func (_EmberswardNFT *EmberswardNFTTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactorSession) BatchTransferFrom

func (_EmberswardNFT *EmberswardNFTTransactorSession) BatchTransferFrom(from common.Address, to common.Address, tokenIds []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xf3993d11.

Solidity: function batchTransferFrom(address from, address to, uint256[] tokenIds) returns()

func (*EmberswardNFTTransactorSession) GrantRole

func (_EmberswardNFT *EmberswardNFTTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactorSession) Initialize

func (_EmberswardNFT *EmberswardNFTTransactorSession) Initialize(_forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _forwarder) returns()

func (*EmberswardNFTTransactorSession) MintProperty

func (_EmberswardNFT *EmberswardNFTTransactorSession) MintProperty(recipient common.Address, x *big.Int, y *big.Int, data string) (*types.Transaction, error)

MintProperty is a paid mutator transaction binding the contract method 0xb6a6b83f.

Solidity: function mintProperty(address recipient, uint256 x, uint256 y, string data) returns(uint256)

func (*EmberswardNFTTransactorSession) RenounceRole

func (_EmberswardNFT *EmberswardNFTTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactorSession) RevokeRole

func (_EmberswardNFT *EmberswardNFTTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardNFTTransactorSession) SafeTransferFrom

func (_EmberswardNFT *EmberswardNFTTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactorSession) SafeTransferFrom0

func (_EmberswardNFT *EmberswardNFTTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*EmberswardNFTTransactorSession) SetApprovalForAll

func (_EmberswardNFT *EmberswardNFTTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*EmberswardNFTTransactorSession) TransferFrom

func (_EmberswardNFT *EmberswardNFTTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*EmberswardNFTTransactorSession) UpdateForwarder

func (_EmberswardNFT *EmberswardNFTTransactorSession) UpdateForwarder(_newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardNFTTransactorSession) UpgradeTo

func (_EmberswardNFT *EmberswardNFTTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardNFTTransactorSession) UpgradeToAndCall

func (_EmberswardNFT *EmberswardNFTTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardNFTTransfer

type EmberswardNFTTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardNFTTransfer represents a Transfer event raised by the EmberswardNFT contract.

type EmberswardNFTTransferIterator

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

EmberswardNFTTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the EmberswardNFT contract.

func (*EmberswardNFTTransferIterator) Close

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

func (*EmberswardNFTTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTTransferIterator) 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 EmberswardNFTUpgraded

type EmberswardNFTUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

EmberswardNFTUpgraded represents a Upgraded event raised by the EmberswardNFT contract.

type EmberswardNFTUpgradedIterator

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

EmberswardNFTUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the EmberswardNFT contract.

func (*EmberswardNFTUpgradedIterator) Close

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

func (*EmberswardNFTUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardNFTUpgradedIterator) 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 EmberswardSale

type EmberswardSale struct {
	EmberswardSaleCaller     // Read-only binding to the contract
	EmberswardSaleTransactor // Write-only binding to the contract
	EmberswardSaleFilterer   // Log filterer for contract events
}

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

func NewEmberswardSale

func NewEmberswardSale(address common.Address, backend bind.ContractBackend) (*EmberswardSale, error)

NewEmberswardSale creates a new instance of EmberswardSale, bound to a specific deployed contract.

type EmberswardSaleAdminAccessSet

type EmberswardSaleAdminAccessSet struct {
	Minter  common.Address
	Enabled bool
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardSaleAdminAccessSet represents a AdminAccessSet event raised by the EmberswardSale contract.

type EmberswardSaleAdminAccessSetIterator

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

EmberswardSaleAdminAccessSetIterator is returned from FilterAdminAccessSet and is used to iterate over the raw logs and unpacked data for AdminAccessSet events raised by the EmberswardSale contract.

func (*EmberswardSaleAdminAccessSetIterator) Close

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

func (*EmberswardSaleAdminAccessSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleAdminAccessSetIterator) 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 EmberswardSaleAdminChanged

type EmberswardSaleAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

EmberswardSaleAdminChanged represents a AdminChanged event raised by the EmberswardSale contract.

type EmberswardSaleAdminChangedIterator

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

EmberswardSaleAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the EmberswardSale contract.

func (*EmberswardSaleAdminChangedIterator) Close

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

func (*EmberswardSaleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleAdminChangedIterator) 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 EmberswardSaleBeaconUpgraded

type EmberswardSaleBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

EmberswardSaleBeaconUpgraded represents a BeaconUpgraded event raised by the EmberswardSale contract.

type EmberswardSaleBeaconUpgradedIterator

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

EmberswardSaleBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the EmberswardSale contract.

func (*EmberswardSaleBeaconUpgradedIterator) Close

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

func (*EmberswardSaleBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleBeaconUpgradedIterator) 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 EmberswardSaleCaller

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

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

func NewEmberswardSaleCaller

func NewEmberswardSaleCaller(address common.Address, caller bind.ContractCaller) (*EmberswardSaleCaller, error)

NewEmberswardSaleCaller creates a new read-only instance of EmberswardSale, bound to a specific deployed contract.

func (*EmberswardSaleCaller) ADMIN

func (_EmberswardSale *EmberswardSaleCaller) ADMIN(opts *bind.CallOpts) ([32]byte, error)

ADMIN is a free data retrieval call binding the contract method 0x2a0acc6a.

Solidity: function ADMIN() view returns(bytes32)

func (*EmberswardSaleCaller) DEFAULTADMINROLE

func (_EmberswardSale *EmberswardSaleCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardSaleCaller) GetRoleAdmin

func (_EmberswardSale *EmberswardSaleCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardSaleCaller) GetSale

func (_EmberswardSale *EmberswardSaleCaller) GetSale(opts *bind.CallOpts, nftId *big.Int) (common.Address, *big.Int, error)

GetSale is a free data retrieval call binding the contract method 0xd8f6d596.

Solidity: function getSale(uint256 nftId) view returns(address, uint256)

func (*EmberswardSaleCaller) HasRole

func (_EmberswardSale *EmberswardSaleCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardSaleCaller) IsTrustedForwarder

func (_EmberswardSale *EmberswardSaleCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardSaleCaller) OWNER

func (_EmberswardSale *EmberswardSaleCaller) OWNER(opts *bind.CallOpts) ([32]byte, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(bytes32)

func (*EmberswardSaleCaller) SupportsInterface

func (_EmberswardSale *EmberswardSaleCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type EmberswardSaleCallerRaw

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

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

func (*EmberswardSaleCallerRaw) Call

func (_EmberswardSale *EmberswardSaleCallerRaw) 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 EmberswardSaleCallerSession

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

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

func (*EmberswardSaleCallerSession) ADMIN

func (_EmberswardSale *EmberswardSaleCallerSession) ADMIN() ([32]byte, error)

ADMIN is a free data retrieval call binding the contract method 0x2a0acc6a.

Solidity: function ADMIN() view returns(bytes32)

func (*EmberswardSaleCallerSession) DEFAULTADMINROLE

func (_EmberswardSale *EmberswardSaleCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardSaleCallerSession) GetRoleAdmin

func (_EmberswardSale *EmberswardSaleCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardSaleCallerSession) GetSale

func (_EmberswardSale *EmberswardSaleCallerSession) GetSale(nftId *big.Int) (common.Address, *big.Int, error)

GetSale is a free data retrieval call binding the contract method 0xd8f6d596.

Solidity: function getSale(uint256 nftId) view returns(address, uint256)

func (*EmberswardSaleCallerSession) HasRole

func (_EmberswardSale *EmberswardSaleCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardSaleCallerSession) IsTrustedForwarder

func (_EmberswardSale *EmberswardSaleCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardSaleCallerSession) OWNER

func (_EmberswardSale *EmberswardSaleCallerSession) OWNER() ([32]byte, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(bytes32)

func (*EmberswardSaleCallerSession) SupportsInterface

func (_EmberswardSale *EmberswardSaleCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type EmberswardSaleFilterer

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

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

func NewEmberswardSaleFilterer

func NewEmberswardSaleFilterer(address common.Address, filterer bind.ContractFilterer) (*EmberswardSaleFilterer, error)

NewEmberswardSaleFilterer creates a new log filterer instance of EmberswardSale, bound to a specific deployed contract.

func (*EmberswardSaleFilterer) FilterAdminAccessSet

func (_EmberswardSale *EmberswardSaleFilterer) FilterAdminAccessSet(opts *bind.FilterOpts) (*EmberswardSaleAdminAccessSetIterator, error)

FilterAdminAccessSet is a free log retrieval operation binding the contract event 0xe529461c8529abc0e0fe7c5ee361f74fe22e0b7574df1fc0b7558a282091fb78.

Solidity: event AdminAccessSet(address _minter, bool _enabled)

func (*EmberswardSaleFilterer) FilterAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*EmberswardSaleAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardSaleFilterer) FilterBeaconUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*EmberswardSaleBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardSaleFilterer) FilterRoleAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*EmberswardSaleRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardSaleFilterer) FilterRoleGranted

func (_EmberswardSale *EmberswardSaleFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*EmberswardSaleRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) FilterRoleRevoked

func (_EmberswardSale *EmberswardSaleFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*EmberswardSaleRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) FilterSaleAdded

func (_EmberswardSale *EmberswardSaleFilterer) FilterSaleAdded(opts *bind.FilterOpts) (*EmberswardSaleSaleAddedIterator, error)

FilterSaleAdded is a free log retrieval operation binding the contract event 0xf59a8e57322d4e7e909b00d06e23797136706d0039f6df9bc2eed74a829b9489.

Solidity: event SaleAdded(uint256 _nftId, uint256 _price, address _owner, uint256 _timestamp)

func (*EmberswardSaleFilterer) FilterSaleCancelled

func (_EmberswardSale *EmberswardSaleFilterer) FilterSaleCancelled(opts *bind.FilterOpts) (*EmberswardSaleSaleCancelledIterator, error)

FilterSaleCancelled is a free log retrieval operation binding the contract event 0xb7cfc6175ad793ef8751b7deb32917c22f292c84ecd4ca57beabef3ed6bc8bdb.

Solidity: event SaleCancelled(uint256 _nftId, uint256 _price, address _owner, address _cancelledBy, uint256 _timestamp)

func (*EmberswardSaleFilterer) FilterSold

func (_EmberswardSale *EmberswardSaleFilterer) FilterSold(opts *bind.FilterOpts) (*EmberswardSaleSoldIterator, error)

FilterSold is a free log retrieval operation binding the contract event 0xa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d.

Solidity: event Sold(uint256 _nftId, address _seller, address _buyer, uint256 _price, uint256 _timestamp)

func (*EmberswardSaleFilterer) FilterUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*EmberswardSaleUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*EmberswardSaleFilterer) ParseAdminAccessSet

func (_EmberswardSale *EmberswardSaleFilterer) ParseAdminAccessSet(log types.Log) (*EmberswardSaleAdminAccessSet, error)

ParseAdminAccessSet is a log parse operation binding the contract event 0xe529461c8529abc0e0fe7c5ee361f74fe22e0b7574df1fc0b7558a282091fb78.

Solidity: event AdminAccessSet(address _minter, bool _enabled)

func (*EmberswardSaleFilterer) ParseAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) ParseAdminChanged(log types.Log) (*EmberswardSaleAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardSaleFilterer) ParseBeaconUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) ParseBeaconUpgraded(log types.Log) (*EmberswardSaleBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardSaleFilterer) ParseRoleAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) ParseRoleAdminChanged(log types.Log) (*EmberswardSaleRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardSaleFilterer) ParseRoleGranted

func (_EmberswardSale *EmberswardSaleFilterer) ParseRoleGranted(log types.Log) (*EmberswardSaleRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) ParseRoleRevoked

func (_EmberswardSale *EmberswardSaleFilterer) ParseRoleRevoked(log types.Log) (*EmberswardSaleRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) ParseSaleAdded

func (_EmberswardSale *EmberswardSaleFilterer) ParseSaleAdded(log types.Log) (*EmberswardSaleSaleAdded, error)

ParseSaleAdded is a log parse operation binding the contract event 0xf59a8e57322d4e7e909b00d06e23797136706d0039f6df9bc2eed74a829b9489.

Solidity: event SaleAdded(uint256 _nftId, uint256 _price, address _owner, uint256 _timestamp)

func (*EmberswardSaleFilterer) ParseSaleCancelled

func (_EmberswardSale *EmberswardSaleFilterer) ParseSaleCancelled(log types.Log) (*EmberswardSaleSaleCancelled, error)

ParseSaleCancelled is a log parse operation binding the contract event 0xb7cfc6175ad793ef8751b7deb32917c22f292c84ecd4ca57beabef3ed6bc8bdb.

Solidity: event SaleCancelled(uint256 _nftId, uint256 _price, address _owner, address _cancelledBy, uint256 _timestamp)

func (*EmberswardSaleFilterer) ParseSold

func (_EmberswardSale *EmberswardSaleFilterer) ParseSold(log types.Log) (*EmberswardSaleSold, error)

ParseSold is a log parse operation binding the contract event 0xa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d.

Solidity: event Sold(uint256 _nftId, address _seller, address _buyer, uint256 _price, uint256 _timestamp)

func (*EmberswardSaleFilterer) ParseUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) ParseUpgraded(log types.Log) (*EmberswardSaleUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*EmberswardSaleFilterer) WatchAdminAccessSet

func (_EmberswardSale *EmberswardSaleFilterer) WatchAdminAccessSet(opts *bind.WatchOpts, sink chan<- *EmberswardSaleAdminAccessSet) (event.Subscription, error)

WatchAdminAccessSet is a free log subscription operation binding the contract event 0xe529461c8529abc0e0fe7c5ee361f74fe22e0b7574df1fc0b7558a282091fb78.

Solidity: event AdminAccessSet(address _minter, bool _enabled)

func (*EmberswardSaleFilterer) WatchAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *EmberswardSaleAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*EmberswardSaleFilterer) WatchBeaconUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *EmberswardSaleBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*EmberswardSaleFilterer) WatchRoleAdminChanged

func (_EmberswardSale *EmberswardSaleFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *EmberswardSaleRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*EmberswardSaleFilterer) WatchRoleGranted

func (_EmberswardSale *EmberswardSaleFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *EmberswardSaleRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) WatchRoleRevoked

func (_EmberswardSale *EmberswardSaleFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *EmberswardSaleRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*EmberswardSaleFilterer) WatchSaleAdded

func (_EmberswardSale *EmberswardSaleFilterer) WatchSaleAdded(opts *bind.WatchOpts, sink chan<- *EmberswardSaleSaleAdded) (event.Subscription, error)

WatchSaleAdded is a free log subscription operation binding the contract event 0xf59a8e57322d4e7e909b00d06e23797136706d0039f6df9bc2eed74a829b9489.

Solidity: event SaleAdded(uint256 _nftId, uint256 _price, address _owner, uint256 _timestamp)

func (*EmberswardSaleFilterer) WatchSaleCancelled

func (_EmberswardSale *EmberswardSaleFilterer) WatchSaleCancelled(opts *bind.WatchOpts, sink chan<- *EmberswardSaleSaleCancelled) (event.Subscription, error)

WatchSaleCancelled is a free log subscription operation binding the contract event 0xb7cfc6175ad793ef8751b7deb32917c22f292c84ecd4ca57beabef3ed6bc8bdb.

Solidity: event SaleCancelled(uint256 _nftId, uint256 _price, address _owner, address _cancelledBy, uint256 _timestamp)

func (*EmberswardSaleFilterer) WatchSold

func (_EmberswardSale *EmberswardSaleFilterer) WatchSold(opts *bind.WatchOpts, sink chan<- *EmberswardSaleSold) (event.Subscription, error)

WatchSold is a free log subscription operation binding the contract event 0xa70b1a854695e7921b122988e216d3a6cd10ed799017c67b1ff231967e6bf56d.

Solidity: event Sold(uint256 _nftId, address _seller, address _buyer, uint256 _price, uint256 _timestamp)

func (*EmberswardSaleFilterer) WatchUpgraded

func (_EmberswardSale *EmberswardSaleFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *EmberswardSaleUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type EmberswardSaleRaw

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

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

func (*EmberswardSaleRaw) Call

func (_EmberswardSale *EmberswardSaleRaw) 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 (*EmberswardSaleRaw) Transact

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

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

func (*EmberswardSaleRaw) Transfer

func (_EmberswardSale *EmberswardSaleRaw) 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 EmberswardSaleRoleAdminChanged

type EmberswardSaleRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

EmberswardSaleRoleAdminChanged represents a RoleAdminChanged event raised by the EmberswardSale contract.

type EmberswardSaleRoleAdminChangedIterator

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

EmberswardSaleRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the EmberswardSale contract.

func (*EmberswardSaleRoleAdminChangedIterator) Close

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

func (*EmberswardSaleRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleRoleAdminChangedIterator) 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 EmberswardSaleRoleGranted

type EmberswardSaleRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardSaleRoleGranted represents a RoleGranted event raised by the EmberswardSale contract.

type EmberswardSaleRoleGrantedIterator

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

EmberswardSaleRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the EmberswardSale contract.

func (*EmberswardSaleRoleGrantedIterator) Close

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

func (*EmberswardSaleRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleRoleGrantedIterator) 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 EmberswardSaleRoleRevoked

type EmberswardSaleRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EmberswardSaleRoleRevoked represents a RoleRevoked event raised by the EmberswardSale contract.

type EmberswardSaleRoleRevokedIterator

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

EmberswardSaleRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the EmberswardSale contract.

func (*EmberswardSaleRoleRevokedIterator) Close

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

func (*EmberswardSaleRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleRoleRevokedIterator) 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 EmberswardSaleSaleAdded

type EmberswardSaleSaleAdded struct {
	NftId     *big.Int
	Price     *big.Int
	Owner     common.Address
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

EmberswardSaleSaleAdded represents a SaleAdded event raised by the EmberswardSale contract.

type EmberswardSaleSaleAddedIterator

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

EmberswardSaleSaleAddedIterator is returned from FilterSaleAdded and is used to iterate over the raw logs and unpacked data for SaleAdded events raised by the EmberswardSale contract.

func (*EmberswardSaleSaleAddedIterator) Close

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

func (*EmberswardSaleSaleAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleSaleAddedIterator) 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 EmberswardSaleSaleCancelled

type EmberswardSaleSaleCancelled struct {
	NftId       *big.Int
	Price       *big.Int
	Owner       common.Address
	CancelledBy common.Address
	Timestamp   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

EmberswardSaleSaleCancelled represents a SaleCancelled event raised by the EmberswardSale contract.

type EmberswardSaleSaleCancelledIterator

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

EmberswardSaleSaleCancelledIterator is returned from FilterSaleCancelled and is used to iterate over the raw logs and unpacked data for SaleCancelled events raised by the EmberswardSale contract.

func (*EmberswardSaleSaleCancelledIterator) Close

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

func (*EmberswardSaleSaleCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleSaleCancelledIterator) 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 EmberswardSaleSession

type EmberswardSaleSession struct {
	Contract     *EmberswardSale   // 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
}

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

func (*EmberswardSaleSession) ADMIN

func (_EmberswardSale *EmberswardSaleSession) ADMIN() ([32]byte, error)

ADMIN is a free data retrieval call binding the contract method 0x2a0acc6a.

Solidity: function ADMIN() view returns(bytes32)

func (*EmberswardSaleSession) CancelSale

func (_EmberswardSale *EmberswardSaleSession) CancelSale(nftId *big.Int) (*types.Transaction, error)

CancelSale is a paid mutator transaction binding the contract method 0xbd94b005.

Solidity: function cancelSale(uint256 nftId) returns()

func (*EmberswardSaleSession) DEFAULTADMINROLE

func (_EmberswardSale *EmberswardSaleSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*EmberswardSaleSession) GetRoleAdmin

func (_EmberswardSale *EmberswardSaleSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*EmberswardSaleSession) GetSale

func (_EmberswardSale *EmberswardSaleSession) GetSale(nftId *big.Int) (common.Address, *big.Int, error)

GetSale is a free data retrieval call binding the contract method 0xd8f6d596.

Solidity: function getSale(uint256 nftId) view returns(address, uint256)

func (*EmberswardSaleSession) GrantRole

func (_EmberswardSale *EmberswardSaleSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardSaleSession) HasRole

func (_EmberswardSale *EmberswardSaleSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*EmberswardSaleSession) Initialize

func (_EmberswardSale *EmberswardSaleSession) Initialize(_nftAddress common.Address, _tokenAddress common.Address, _forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _nftAddress, address _tokenAddress, address _forwarder) returns()

func (*EmberswardSaleSession) IsTrustedForwarder

func (_EmberswardSale *EmberswardSaleSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*EmberswardSaleSession) OWNER

func (_EmberswardSale *EmberswardSaleSession) OWNER() ([32]byte, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(bytes32)

func (*EmberswardSaleSession) PurchaseParcel

func (_EmberswardSale *EmberswardSaleSession) PurchaseParcel(nftIds []*big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseParcel is a paid mutator transaction binding the contract method 0xe880f832.

Solidity: function purchaseParcel(uint256[] nftIds, address buyer) returns()

func (*EmberswardSaleSession) PurchaseProperty

func (_EmberswardSale *EmberswardSaleSession) PurchaseProperty(nftId *big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseProperty is a paid mutator transaction binding the contract method 0x73d6889a.

Solidity: function purchaseProperty(uint256 nftId, address buyer) returns()

func (*EmberswardSaleSession) RenounceRole

func (_EmberswardSale *EmberswardSaleSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardSaleSession) RevokeRole

func (_EmberswardSale *EmberswardSaleSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardSaleSession) SellProperty

func (_EmberswardSale *EmberswardSaleSession) SellProperty(nftId *big.Int, price *big.Int) (*types.Transaction, error)

SellProperty is a paid mutator transaction binding the contract method 0xed46a8cf.

Solidity: function sellProperty(uint256 nftId, uint256 price) returns()

func (*EmberswardSaleSession) SupportsInterface

func (_EmberswardSale *EmberswardSaleSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*EmberswardSaleSession) UpdateForwarder

func (_EmberswardSale *EmberswardSaleSession) UpdateForwarder(_newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardSaleSession) UpgradeTo

func (_EmberswardSale *EmberswardSaleSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardSaleSession) UpgradeToAndCall

func (_EmberswardSale *EmberswardSaleSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardSaleSold

type EmberswardSaleSold struct {
	NftId     *big.Int
	Seller    common.Address
	Buyer     common.Address
	Price     *big.Int
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

EmberswardSaleSold represents a Sold event raised by the EmberswardSale contract.

type EmberswardSaleSoldIterator

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

EmberswardSaleSoldIterator is returned from FilterSold and is used to iterate over the raw logs and unpacked data for Sold events raised by the EmberswardSale contract.

func (*EmberswardSaleSoldIterator) Close

func (it *EmberswardSaleSoldIterator) Close() error

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

func (*EmberswardSaleSoldIterator) Error

func (it *EmberswardSaleSoldIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleSoldIterator) Next

func (it *EmberswardSaleSoldIterator) 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 EmberswardSaleTransactor

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

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

func NewEmberswardSaleTransactor

func NewEmberswardSaleTransactor(address common.Address, transactor bind.ContractTransactor) (*EmberswardSaleTransactor, error)

NewEmberswardSaleTransactor creates a new write-only instance of EmberswardSale, bound to a specific deployed contract.

func (*EmberswardSaleTransactor) CancelSale

func (_EmberswardSale *EmberswardSaleTransactor) CancelSale(opts *bind.TransactOpts, nftId *big.Int) (*types.Transaction, error)

CancelSale is a paid mutator transaction binding the contract method 0xbd94b005.

Solidity: function cancelSale(uint256 nftId) returns()

func (*EmberswardSaleTransactor) GrantRole

func (_EmberswardSale *EmberswardSaleTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactor) Initialize

func (_EmberswardSale *EmberswardSaleTransactor) Initialize(opts *bind.TransactOpts, _nftAddress common.Address, _tokenAddress common.Address, _forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _nftAddress, address _tokenAddress, address _forwarder) returns()

func (*EmberswardSaleTransactor) PurchaseParcel

func (_EmberswardSale *EmberswardSaleTransactor) PurchaseParcel(opts *bind.TransactOpts, nftIds []*big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseParcel is a paid mutator transaction binding the contract method 0xe880f832.

Solidity: function purchaseParcel(uint256[] nftIds, address buyer) returns()

func (*EmberswardSaleTransactor) PurchaseProperty

func (_EmberswardSale *EmberswardSaleTransactor) PurchaseProperty(opts *bind.TransactOpts, nftId *big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseProperty is a paid mutator transaction binding the contract method 0x73d6889a.

Solidity: function purchaseProperty(uint256 nftId, address buyer) returns()

func (*EmberswardSaleTransactor) RenounceRole

func (_EmberswardSale *EmberswardSaleTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactor) RevokeRole

func (_EmberswardSale *EmberswardSaleTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactor) SellProperty

func (_EmberswardSale *EmberswardSaleTransactor) SellProperty(opts *bind.TransactOpts, nftId *big.Int, price *big.Int) (*types.Transaction, error)

SellProperty is a paid mutator transaction binding the contract method 0xed46a8cf.

Solidity: function sellProperty(uint256 nftId, uint256 price) returns()

func (*EmberswardSaleTransactor) UpdateForwarder

func (_EmberswardSale *EmberswardSaleTransactor) UpdateForwarder(opts *bind.TransactOpts, _newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardSaleTransactor) UpgradeTo

func (_EmberswardSale *EmberswardSaleTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardSaleTransactor) UpgradeToAndCall

func (_EmberswardSale *EmberswardSaleTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardSaleTransactorRaw

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

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

func (*EmberswardSaleTransactorRaw) Transact

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

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

func (*EmberswardSaleTransactorRaw) Transfer

func (_EmberswardSale *EmberswardSaleTransactorRaw) 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 EmberswardSaleTransactorSession

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

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

func (*EmberswardSaleTransactorSession) CancelSale

func (_EmberswardSale *EmberswardSaleTransactorSession) CancelSale(nftId *big.Int) (*types.Transaction, error)

CancelSale is a paid mutator transaction binding the contract method 0xbd94b005.

Solidity: function cancelSale(uint256 nftId) returns()

func (*EmberswardSaleTransactorSession) GrantRole

func (_EmberswardSale *EmberswardSaleTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactorSession) Initialize

func (_EmberswardSale *EmberswardSaleTransactorSession) Initialize(_nftAddress common.Address, _tokenAddress common.Address, _forwarder common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _nftAddress, address _tokenAddress, address _forwarder) returns()

func (*EmberswardSaleTransactorSession) PurchaseParcel

func (_EmberswardSale *EmberswardSaleTransactorSession) PurchaseParcel(nftIds []*big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseParcel is a paid mutator transaction binding the contract method 0xe880f832.

Solidity: function purchaseParcel(uint256[] nftIds, address buyer) returns()

func (*EmberswardSaleTransactorSession) PurchaseProperty

func (_EmberswardSale *EmberswardSaleTransactorSession) PurchaseProperty(nftId *big.Int, buyer common.Address) (*types.Transaction, error)

PurchaseProperty is a paid mutator transaction binding the contract method 0x73d6889a.

Solidity: function purchaseProperty(uint256 nftId, address buyer) returns()

func (*EmberswardSaleTransactorSession) RenounceRole

func (_EmberswardSale *EmberswardSaleTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactorSession) RevokeRole

func (_EmberswardSale *EmberswardSaleTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*EmberswardSaleTransactorSession) SellProperty

func (_EmberswardSale *EmberswardSaleTransactorSession) SellProperty(nftId *big.Int, price *big.Int) (*types.Transaction, error)

SellProperty is a paid mutator transaction binding the contract method 0xed46a8cf.

Solidity: function sellProperty(uint256 nftId, uint256 price) returns()

func (*EmberswardSaleTransactorSession) UpdateForwarder

func (_EmberswardSale *EmberswardSaleTransactorSession) UpdateForwarder(_newForwarder common.Address) (*types.Transaction, error)

UpdateForwarder is a paid mutator transaction binding the contract method 0x2291237e.

Solidity: function updateForwarder(address _newForwarder) returns()

func (*EmberswardSaleTransactorSession) UpgradeTo

func (_EmberswardSale *EmberswardSaleTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*EmberswardSaleTransactorSession) UpgradeToAndCall

func (_EmberswardSale *EmberswardSaleTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type EmberswardSaleUpgraded

type EmberswardSaleUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

EmberswardSaleUpgraded represents a Upgraded event raised by the EmberswardSale contract.

type EmberswardSaleUpgradedIterator

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

EmberswardSaleUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the EmberswardSale contract.

func (*EmberswardSaleUpgradedIterator) Close

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

func (*EmberswardSaleUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmberswardSaleUpgradedIterator) 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.

Jump to

Keyboard shortcuts

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