Documentation ¶
Index ¶
- Variables
- type Flexablenft
- type FlexablenftApproval
- type FlexablenftApprovalForAll
- type FlexablenftApprovalForAllIterator
- type FlexablenftApprovalIterator
- type FlexablenftCaller
- func (_Flexablenft *FlexablenftCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Flexablenft *FlexablenftCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Flexablenft *FlexablenftCaller) FLEXABLENFTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Flexablenft *FlexablenftCaller) FLEXABLENFTCREATORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Flexablenft *FlexablenftCaller) FLEXABLENFTOPERATORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Flexablenft *FlexablenftCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Flexablenft *FlexablenftCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Flexablenft *FlexablenftCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Flexablenft *FlexablenftCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Flexablenft *FlexablenftCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Flexablenft *FlexablenftCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Flexablenft *FlexablenftCaller) RoyaltyInfo(opts *bind.CallOpts, _tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
- func (_Flexablenft *FlexablenftCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Flexablenft *FlexablenftCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Flexablenft *FlexablenftCaller) TicketStatus(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Flexablenft *FlexablenftCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_Flexablenft *FlexablenftCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type FlexablenftCallerRaw
- type FlexablenftCallerSession
- func (_Flexablenft *FlexablenftCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Flexablenft *FlexablenftCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTADMINROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTCREATORROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTOPERATORROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Flexablenft *FlexablenftCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Flexablenft *FlexablenftCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Flexablenft *FlexablenftCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Flexablenft *FlexablenftCallerSession) Name() (string, error)
- func (_Flexablenft *FlexablenftCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftCallerSession) Paused() (bool, error)
- func (_Flexablenft *FlexablenftCallerSession) RoyaltyInfo(_tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
- func (_Flexablenft *FlexablenftCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Flexablenft *FlexablenftCallerSession) Symbol() (string, error)
- func (_Flexablenft *FlexablenftCallerSession) TicketStatus(arg0 *big.Int) (struct{ ... }, error)
- func (_Flexablenft *FlexablenftCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Flexablenft *FlexablenftCallerSession) TotalSupply() (*big.Int, error)
- type FlexablenftFilterer
- func (_Flexablenft *FlexablenftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*FlexablenftApprovalIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*FlexablenftApprovalForAllIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterPaused(opts *bind.FilterOpts) (*FlexablenftPausedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*FlexablenftRoleAdminChangedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*FlexablenftRoleGrantedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*FlexablenftRoleRevokedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterRoyaltyUpdated(opts *bind.FilterOpts, reciever []common.Address, ...) (*FlexablenftRoyaltyUpdatedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterTicketBurnt(opts *bind.FilterOpts, tokenId []*big.Int, ownerOrApproved []common.Address) (*FlexablenftTicketBurntIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterTicketCreated(opts *bind.FilterOpts, creator []common.Address) (*FlexablenftTicketCreatedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterTicketRedeemed(opts *bind.FilterOpts, tokenID []*big.Int, count []uint16) (*FlexablenftTicketRedeemedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*FlexablenftTransferIterator, error)
- func (_Flexablenft *FlexablenftFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FlexablenftUnpausedIterator, error)
- func (_Flexablenft *FlexablenftFilterer) ParseApproval(log types.Log) (*FlexablenftApproval, error)
- func (_Flexablenft *FlexablenftFilterer) ParseApprovalForAll(log types.Log) (*FlexablenftApprovalForAll, error)
- func (_Flexablenft *FlexablenftFilterer) ParsePaused(log types.Log) (*FlexablenftPaused, error)
- func (_Flexablenft *FlexablenftFilterer) ParseRoleAdminChanged(log types.Log) (*FlexablenftRoleAdminChanged, error)
- func (_Flexablenft *FlexablenftFilterer) ParseRoleGranted(log types.Log) (*FlexablenftRoleGranted, error)
- func (_Flexablenft *FlexablenftFilterer) ParseRoleRevoked(log types.Log) (*FlexablenftRoleRevoked, error)
- func (_Flexablenft *FlexablenftFilterer) ParseRoyaltyUpdated(log types.Log) (*FlexablenftRoyaltyUpdated, error)
- func (_Flexablenft *FlexablenftFilterer) ParseTicketBurnt(log types.Log) (*FlexablenftTicketBurnt, error)
- func (_Flexablenft *FlexablenftFilterer) ParseTicketCreated(log types.Log) (*FlexablenftTicketCreated, error)
- func (_Flexablenft *FlexablenftFilterer) ParseTicketRedeemed(log types.Log) (*FlexablenftTicketRedeemed, error)
- func (_Flexablenft *FlexablenftFilterer) ParseTransfer(log types.Log) (*FlexablenftTransfer, error)
- func (_Flexablenft *FlexablenftFilterer) ParseUnpaused(log types.Log) (*FlexablenftUnpaused, error)
- func (_Flexablenft *FlexablenftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *FlexablenftApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *FlexablenftApprovalForAll, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FlexablenftPaused) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleAdminChanged, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchRoyaltyUpdated(opts *bind.WatchOpts, sink chan<- *FlexablenftRoyaltyUpdated, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchTicketBurnt(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketBurnt, tokenId []*big.Int, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchTicketCreated(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketCreated, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchTicketRedeemed(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketRedeemed, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *FlexablenftTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Flexablenft *FlexablenftFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FlexablenftUnpaused) (event.Subscription, error)
- type FlexablenftPaused
- type FlexablenftPausedIterator
- type FlexablenftRaw
- func (_Flexablenft *FlexablenftRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Flexablenft *FlexablenftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FlexablenftRoleAdminChanged
- type FlexablenftRoleAdminChangedIterator
- type FlexablenftRoleGranted
- type FlexablenftRoleGrantedIterator
- type FlexablenftRoleRevoked
- type FlexablenftRoleRevokedIterator
- type FlexablenftRoyaltyUpdated
- type FlexablenftRoyaltyUpdatedIterator
- type FlexablenftSession
- func (_Flexablenft *FlexablenftSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Flexablenft *FlexablenftSession) BurnTicket(tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) CreateTicket(metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) CreateTicketWithCustomRoyalty(metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftSession) DelegateTicketCreation(creator common.Address, metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) DelegateTicketCreationWithCustomRoyalty(creator common.Address, metadataURI string, royaltyaddress common.Address, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) FLEXABLENFTADMINROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftSession) FLEXABLENFTCREATORROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftSession) FLEXABLENFTOPERATORROLE() ([32]byte, error)
- func (_Flexablenft *FlexablenftSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Flexablenft *FlexablenftSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Flexablenft *FlexablenftSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Flexablenft *FlexablenftSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Flexablenft *FlexablenftSession) Name() (string, error)
- func (_Flexablenft *FlexablenftSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Flexablenft *FlexablenftSession) Pause() (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) Paused() (bool, error)
- func (_Flexablenft *FlexablenftSession) RedeemTicket(tokenId *big.Int, info string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) RoyaltyInfo(_tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
- func (_Flexablenft *FlexablenftSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Flexablenft *FlexablenftSession) Symbol() (string, error)
- func (_Flexablenft *FlexablenftSession) TicketStatus(arg0 *big.Int) (struct{ ... }, error)
- func (_Flexablenft *FlexablenftSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_Flexablenft *FlexablenftSession) TokenURI(tokenId *big.Int) (string, error)
- func (_Flexablenft *FlexablenftSession) TotalSupply() (*big.Int, error)
- func (_Flexablenft *FlexablenftSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) Unpause() (*types.Transaction, error)
- func (_Flexablenft *FlexablenftSession) UpdateDefaultRoyalty(royaltyReciever common.Address, percentageBasisPoint *big.Int) (*types.Transaction, error)
- type FlexablenftTicketBurnt
- type FlexablenftTicketBurntIterator
- type FlexablenftTicketCreated
- type FlexablenftTicketCreatedIterator
- type FlexablenftTicketRedeemed
- type FlexablenftTicketRedeemedIterator
- type FlexablenftTransactor
- func (_Flexablenft *FlexablenftTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) BurnTicket(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) CreateTicket(opts *bind.TransactOpts, metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) CreateTicketWithCustomRoyalty(opts *bind.TransactOpts, metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) DelegateTicketCreation(opts *bind.TransactOpts, creator common.Address, metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) DelegateTicketCreationWithCustomRoyalty(opts *bind.TransactOpts, creator common.Address, metadataURI string, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) RedeemTicket(opts *bind.TransactOpts, tokenId *big.Int, info string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactor) UpdateDefaultRoyalty(opts *bind.TransactOpts, royaltyReciever common.Address, ...) (*types.Transaction, error)
- type FlexablenftTransactorRaw
- type FlexablenftTransactorSession
- func (_Flexablenft *FlexablenftTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) BurnTicket(tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) CreateTicket(metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) CreateTicketWithCustomRoyalty(metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) DelegateTicketCreation(creator common.Address, metadataURI string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) DelegateTicketCreationWithCustomRoyalty(creator common.Address, metadataURI string, royaltyaddress common.Address, ...) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) Pause() (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) RedeemTicket(tokenId *big.Int, info string) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) Unpause() (*types.Transaction, error)
- func (_Flexablenft *FlexablenftTransactorSession) UpdateDefaultRoyalty(royaltyReciever common.Address, percentageBasisPoint *big.Int) (*types.Transaction, error)
- type FlexablenftTransfer
- type FlexablenftTransferIterator
- type FlexablenftUnpaused
- type FlexablenftUnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var FlexablenftABI = FlexablenftMetaData.ABI
FlexablenftABI is the input ABI used to generate the binding from. Deprecated: Use FlexablenftMetaData.ABI instead.
var FlexablenftMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reciever\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint96\",\"name\":\"percentageBasisPoint\",\"type\":\"uint96\"}],\"name\":\"RoyaltyUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"ownerOrApproved\",\"type\":\"address\"}],\"name\":\"TicketBurnt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"metaDataURI\",\"type\":\"string\"}],\"name\":\"TicketCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"count\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"info\",\"type\":\"string\"}],\"name\":\"TicketRedeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_CREATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FLEXABLENFT_OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"TicketStatus\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"redeemCount\",\"type\":\"uint16\"},{\"internalType\":\"string\",\"name\":\"redeemInfo\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burnTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"metadataURI\",\"type\":\"string\"}],\"name\":\"createTicket\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"metadataURI\",\"type\":\"string\"},{\"internalType\":\"uint96\",\"name\":\"royaltyPercentBasisPoint\",\"type\":\"uint96\"}],\"name\":\"createTicketWithCustomRoyalty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"metadataURI\",\"type\":\"string\"}],\"name\":\"delegateTicketCreation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"metadataURI\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"royaltyaddress\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"royaltyPercentBasisPoint\",\"type\":\"uint96\"}],\"name\":\"delegateTicketCreationWithCustomRoyalty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"info\",\"type\":\"string\"}],\"name\":\"redeemTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"royaltyReciever\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"percentageBasisPoint\",\"type\":\"uint96\"}],\"name\":\"updateDefaultRoyalty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
FlexablenftMetaData contains all meta data concerning the Flexablenft contract.
Functions ¶
This section is empty.
Types ¶
type Flexablenft ¶
type Flexablenft struct { FlexablenftCaller // Read-only binding to the contract FlexablenftTransactor // Write-only binding to the contract FlexablenftFilterer // Log filterer for contract events }
Flexablenft is an auto generated Go binding around an Ethereum contract.
func NewFlexablenft ¶
func NewFlexablenft(address common.Address, backend bind.ContractBackend) (*Flexablenft, error)
NewFlexablenft creates a new instance of Flexablenft, bound to a specific deployed contract.
type FlexablenftApproval ¶
type FlexablenftApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
FlexablenftApproval represents a Approval event raised by the Flexablenft contract.
type FlexablenftApprovalForAll ¶
type FlexablenftApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
FlexablenftApprovalForAll represents a ApprovalForAll event raised by the Flexablenft contract.
type FlexablenftApprovalForAllIterator ¶
type FlexablenftApprovalForAllIterator struct { Event *FlexablenftApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Flexablenft contract.
func (*FlexablenftApprovalForAllIterator) Close ¶
func (it *FlexablenftApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftApprovalForAllIterator) Error ¶
func (it *FlexablenftApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftApprovalForAllIterator) Next ¶
func (it *FlexablenftApprovalForAllIterator) 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 FlexablenftApprovalIterator ¶
type FlexablenftApprovalIterator struct { Event *FlexablenftApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Flexablenft contract.
func (*FlexablenftApprovalIterator) Close ¶
func (it *FlexablenftApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftApprovalIterator) Error ¶
func (it *FlexablenftApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftApprovalIterator) Next ¶
func (it *FlexablenftApprovalIterator) 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 FlexablenftCaller ¶
type FlexablenftCaller struct {
// contains filtered or unexported fields
}
FlexablenftCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFlexablenftCaller ¶
func NewFlexablenftCaller(address common.Address, caller bind.ContractCaller) (*FlexablenftCaller, error)
NewFlexablenftCaller creates a new read-only instance of Flexablenft, bound to a specific deployed contract.
func (*FlexablenftCaller) BalanceOf ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) DEFAULTADMINROLE ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) FLEXABLENFTADMINROLE ¶
func (_Flexablenft *FlexablenftCaller) FLEXABLENFTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.
Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)
func (*FlexablenftCaller) FLEXABLENFTCREATORROLE ¶
func (_Flexablenft *FlexablenftCaller) FLEXABLENFTCREATORROLE(opts *bind.CallOpts) ([32]byte, error)
FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.
Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)
func (*FlexablenftCaller) FLEXABLENFTOPERATORROLE ¶
func (_Flexablenft *FlexablenftCaller) FLEXABLENFTOPERATORROLE(opts *bind.CallOpts) ([32]byte, error)
FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.
Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)
func (*FlexablenftCaller) GetApproved ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) GetRoleAdmin ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) GetRoleMember ¶
func (_Flexablenft *FlexablenftCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*FlexablenftCaller) GetRoleMemberCount ¶
func (_Flexablenft *FlexablenftCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*FlexablenftCaller) HasRole ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) IsApprovedForAll ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) Name ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) OwnerOf ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) Paused ¶
func (_Flexablenft *FlexablenftCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*FlexablenftCaller) RoyaltyInfo ¶
func (_Flexablenft *FlexablenftCaller) RoyaltyInfo(opts *bind.CallOpts, _tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 _tokenId, uint256 _salePrice) view returns(address, uint256)
func (*FlexablenftCaller) SupportsInterface ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) Symbol ¶
func (_Flexablenft *FlexablenftCaller) 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 (*FlexablenftCaller) TicketStatus ¶
func (_Flexablenft *FlexablenftCaller) TicketStatus(opts *bind.CallOpts, arg0 *big.Int) (struct { RedeemCount uint16 RedeemInfo string }, error)
TicketStatus is a free data retrieval call binding the contract method 0xce5956cb.
Solidity: function TicketStatus(uint256 ) view returns(uint16 redeemCount, string redeemInfo)
func (*FlexablenftCaller) TokenByIndex ¶
func (_Flexablenft *FlexablenftCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*FlexablenftCaller) TokenOfOwnerByIndex ¶
func (_Flexablenft *FlexablenftCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*FlexablenftCaller) TokenURI ¶
func (_Flexablenft *FlexablenftCaller) 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)
func (*FlexablenftCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type FlexablenftCallerRaw ¶
type FlexablenftCallerRaw struct {
Contract *FlexablenftCaller // Generic read-only contract binding to access the raw methods on
}
FlexablenftCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FlexablenftCallerRaw) Call ¶
func (_Flexablenft *FlexablenftCallerRaw) 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 FlexablenftCallerSession ¶
type FlexablenftCallerSession struct { Contract *FlexablenftCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FlexablenftCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FlexablenftCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*FlexablenftCallerSession) DEFAULTADMINROLE ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) FLEXABLENFTADMINROLE ¶
func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTADMINROLE() ([32]byte, error)
FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.
Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)
func (*FlexablenftCallerSession) FLEXABLENFTCREATORROLE ¶
func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTCREATORROLE() ([32]byte, error)
FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.
Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)
func (*FlexablenftCallerSession) FLEXABLENFTOPERATORROLE ¶
func (_Flexablenft *FlexablenftCallerSession) FLEXABLENFTOPERATORROLE() ([32]byte, error)
FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.
Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)
func (*FlexablenftCallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*FlexablenftCallerSession) GetRoleAdmin ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) GetRoleMember ¶
func (_Flexablenft *FlexablenftCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*FlexablenftCallerSession) GetRoleMemberCount ¶
func (_Flexablenft *FlexablenftCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*FlexablenftCallerSession) HasRole ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) IsApprovedForAll ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) Name ¶
func (_Flexablenft *FlexablenftCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*FlexablenftCallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*FlexablenftCallerSession) Paused ¶
func (_Flexablenft *FlexablenftCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*FlexablenftCallerSession) RoyaltyInfo ¶
func (_Flexablenft *FlexablenftCallerSession) RoyaltyInfo(_tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 _tokenId, uint256 _salePrice) view returns(address, uint256)
func (*FlexablenftCallerSession) SupportsInterface ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) Symbol ¶
func (_Flexablenft *FlexablenftCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*FlexablenftCallerSession) TicketStatus ¶
func (_Flexablenft *FlexablenftCallerSession) TicketStatus(arg0 *big.Int) (struct { RedeemCount uint16 RedeemInfo string }, error)
TicketStatus is a free data retrieval call binding the contract method 0xce5956cb.
Solidity: function TicketStatus(uint256 ) view returns(uint16 redeemCount, string redeemInfo)
func (*FlexablenftCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*FlexablenftCallerSession) TokenOfOwnerByIndex ¶
func (_Flexablenft *FlexablenftCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*FlexablenftCallerSession) TokenURI ¶
func (_Flexablenft *FlexablenftCallerSession) 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 (*FlexablenftCallerSession) TotalSupply ¶
func (_Flexablenft *FlexablenftCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type FlexablenftFilterer ¶
type FlexablenftFilterer struct {
// contains filtered or unexported fields
}
FlexablenftFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFlexablenftFilterer ¶
func NewFlexablenftFilterer(address common.Address, filterer bind.ContractFilterer) (*FlexablenftFilterer, error)
NewFlexablenftFilterer creates a new log filterer instance of Flexablenft, bound to a specific deployed contract.
func (*FlexablenftFilterer) FilterApproval ¶
func (_Flexablenft *FlexablenftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*FlexablenftApprovalIterator, 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 (*FlexablenftFilterer) FilterApprovalForAll ¶
func (_Flexablenft *FlexablenftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*FlexablenftApprovalForAllIterator, 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 (*FlexablenftFilterer) FilterPaused ¶
func (_Flexablenft *FlexablenftFilterer) FilterPaused(opts *bind.FilterOpts) (*FlexablenftPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*FlexablenftFilterer) FilterRoleAdminChanged ¶
func (_Flexablenft *FlexablenftFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*FlexablenftRoleAdminChangedIterator, 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 (*FlexablenftFilterer) FilterRoleGranted ¶
func (_Flexablenft *FlexablenftFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FlexablenftRoleGrantedIterator, 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 (*FlexablenftFilterer) FilterRoleRevoked ¶
func (_Flexablenft *FlexablenftFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FlexablenftRoleRevokedIterator, 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 (*FlexablenftFilterer) FilterRoyaltyUpdated ¶
func (_Flexablenft *FlexablenftFilterer) FilterRoyaltyUpdated(opts *bind.FilterOpts, reciever []common.Address, percentageBasisPoint []*big.Int) (*FlexablenftRoyaltyUpdatedIterator, error)
FilterRoyaltyUpdated is a free log retrieval operation binding the contract event 0x8039bd6e4e7dba001c8840eb2e118d9d131246faa7d0d04335f7305127ec0b10.
Solidity: event RoyaltyUpdated(address indexed reciever, uint96 indexed percentageBasisPoint)
func (*FlexablenftFilterer) FilterTicketBurnt ¶
func (_Flexablenft *FlexablenftFilterer) FilterTicketBurnt(opts *bind.FilterOpts, tokenId []*big.Int, ownerOrApproved []common.Address) (*FlexablenftTicketBurntIterator, error)
FilterTicketBurnt is a free log retrieval operation binding the contract event 0x992fdab418cdc52e18511f72c6e1a38083d4e6251471f459051d80001131fe73.
Solidity: event TicketBurnt(uint256 indexed tokenId, address indexed ownerOrApproved)
func (*FlexablenftFilterer) FilterTicketCreated ¶
func (_Flexablenft *FlexablenftFilterer) FilterTicketCreated(opts *bind.FilterOpts, creator []common.Address) (*FlexablenftTicketCreatedIterator, error)
FilterTicketCreated is a free log retrieval operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.
Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataURI)
func (*FlexablenftFilterer) FilterTicketRedeemed ¶
func (_Flexablenft *FlexablenftFilterer) FilterTicketRedeemed(opts *bind.FilterOpts, tokenID []*big.Int, count []uint16) (*FlexablenftTicketRedeemedIterator, error)
FilterTicketRedeemed is a free log retrieval operation binding the contract event 0x91e9be99c353eb314b6fc412ede9f15d7187a1b918bf65a53df2a1de9eb5c8f0.
Solidity: event TicketRedeemed(uint256 indexed tokenID, uint16 indexed count, string info)
func (*FlexablenftFilterer) FilterTransfer ¶
func (_Flexablenft *FlexablenftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*FlexablenftTransferIterator, 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 (*FlexablenftFilterer) FilterUnpaused ¶
func (_Flexablenft *FlexablenftFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FlexablenftUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*FlexablenftFilterer) ParseApproval ¶
func (_Flexablenft *FlexablenftFilterer) ParseApproval(log types.Log) (*FlexablenftApproval, 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 (*FlexablenftFilterer) ParseApprovalForAll ¶
func (_Flexablenft *FlexablenftFilterer) ParseApprovalForAll(log types.Log) (*FlexablenftApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*FlexablenftFilterer) ParsePaused ¶
func (_Flexablenft *FlexablenftFilterer) ParsePaused(log types.Log) (*FlexablenftPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*FlexablenftFilterer) ParseRoleAdminChanged ¶
func (_Flexablenft *FlexablenftFilterer) ParseRoleAdminChanged(log types.Log) (*FlexablenftRoleAdminChanged, 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 (*FlexablenftFilterer) ParseRoleGranted ¶
func (_Flexablenft *FlexablenftFilterer) ParseRoleGranted(log types.Log) (*FlexablenftRoleGranted, 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 (*FlexablenftFilterer) ParseRoleRevoked ¶
func (_Flexablenft *FlexablenftFilterer) ParseRoleRevoked(log types.Log) (*FlexablenftRoleRevoked, 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 (*FlexablenftFilterer) ParseRoyaltyUpdated ¶
func (_Flexablenft *FlexablenftFilterer) ParseRoyaltyUpdated(log types.Log) (*FlexablenftRoyaltyUpdated, error)
ParseRoyaltyUpdated is a log parse operation binding the contract event 0x8039bd6e4e7dba001c8840eb2e118d9d131246faa7d0d04335f7305127ec0b10.
Solidity: event RoyaltyUpdated(address indexed reciever, uint96 indexed percentageBasisPoint)
func (*FlexablenftFilterer) ParseTicketBurnt ¶
func (_Flexablenft *FlexablenftFilterer) ParseTicketBurnt(log types.Log) (*FlexablenftTicketBurnt, error)
ParseTicketBurnt is a log parse operation binding the contract event 0x992fdab418cdc52e18511f72c6e1a38083d4e6251471f459051d80001131fe73.
Solidity: event TicketBurnt(uint256 indexed tokenId, address indexed ownerOrApproved)
func (*FlexablenftFilterer) ParseTicketCreated ¶
func (_Flexablenft *FlexablenftFilterer) ParseTicketCreated(log types.Log) (*FlexablenftTicketCreated, error)
ParseTicketCreated is a log parse operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.
Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataURI)
func (*FlexablenftFilterer) ParseTicketRedeemed ¶
func (_Flexablenft *FlexablenftFilterer) ParseTicketRedeemed(log types.Log) (*FlexablenftTicketRedeemed, error)
ParseTicketRedeemed is a log parse operation binding the contract event 0x91e9be99c353eb314b6fc412ede9f15d7187a1b918bf65a53df2a1de9eb5c8f0.
Solidity: event TicketRedeemed(uint256 indexed tokenID, uint16 indexed count, string info)
func (*FlexablenftFilterer) ParseTransfer ¶
func (_Flexablenft *FlexablenftFilterer) ParseTransfer(log types.Log) (*FlexablenftTransfer, 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 (*FlexablenftFilterer) ParseUnpaused ¶
func (_Flexablenft *FlexablenftFilterer) ParseUnpaused(log types.Log) (*FlexablenftUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*FlexablenftFilterer) WatchApproval ¶
func (_Flexablenft *FlexablenftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *FlexablenftApproval, 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 (*FlexablenftFilterer) WatchApprovalForAll ¶
func (_Flexablenft *FlexablenftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *FlexablenftApprovalForAll, 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 (*FlexablenftFilterer) WatchPaused ¶
func (_Flexablenft *FlexablenftFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FlexablenftPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*FlexablenftFilterer) WatchRoleAdminChanged ¶
func (_Flexablenft *FlexablenftFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleAdminChanged, 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 (*FlexablenftFilterer) WatchRoleGranted ¶
func (_Flexablenft *FlexablenftFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleGranted, 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 (*FlexablenftFilterer) WatchRoleRevoked ¶
func (_Flexablenft *FlexablenftFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FlexablenftRoleRevoked, 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 (*FlexablenftFilterer) WatchRoyaltyUpdated ¶
func (_Flexablenft *FlexablenftFilterer) WatchRoyaltyUpdated(opts *bind.WatchOpts, sink chan<- *FlexablenftRoyaltyUpdated, reciever []common.Address, percentageBasisPoint []*big.Int) (event.Subscription, error)
WatchRoyaltyUpdated is a free log subscription operation binding the contract event 0x8039bd6e4e7dba001c8840eb2e118d9d131246faa7d0d04335f7305127ec0b10.
Solidity: event RoyaltyUpdated(address indexed reciever, uint96 indexed percentageBasisPoint)
func (*FlexablenftFilterer) WatchTicketBurnt ¶
func (_Flexablenft *FlexablenftFilterer) WatchTicketBurnt(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketBurnt, tokenId []*big.Int, ownerOrApproved []common.Address) (event.Subscription, error)
WatchTicketBurnt is a free log subscription operation binding the contract event 0x992fdab418cdc52e18511f72c6e1a38083d4e6251471f459051d80001131fe73.
Solidity: event TicketBurnt(uint256 indexed tokenId, address indexed ownerOrApproved)
func (*FlexablenftFilterer) WatchTicketCreated ¶
func (_Flexablenft *FlexablenftFilterer) WatchTicketCreated(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketCreated, creator []common.Address) (event.Subscription, error)
WatchTicketCreated is a free log subscription operation binding the contract event 0x0484f94842646b419a0e924ba515b27093fce72662146119168089c5279dd3e4.
Solidity: event TicketCreated(uint256 tokenID, address indexed creator, string metaDataURI)
func (*FlexablenftFilterer) WatchTicketRedeemed ¶
func (_Flexablenft *FlexablenftFilterer) WatchTicketRedeemed(opts *bind.WatchOpts, sink chan<- *FlexablenftTicketRedeemed, tokenID []*big.Int, count []uint16) (event.Subscription, error)
WatchTicketRedeemed is a free log subscription operation binding the contract event 0x91e9be99c353eb314b6fc412ede9f15d7187a1b918bf65a53df2a1de9eb5c8f0.
Solidity: event TicketRedeemed(uint256 indexed tokenID, uint16 indexed count, string info)
func (*FlexablenftFilterer) WatchTransfer ¶
func (_Flexablenft *FlexablenftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *FlexablenftTransfer, 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 (*FlexablenftFilterer) WatchUnpaused ¶
func (_Flexablenft *FlexablenftFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FlexablenftUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type FlexablenftPaused ¶
type FlexablenftPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
FlexablenftPaused represents a Paused event raised by the Flexablenft contract.
type FlexablenftPausedIterator ¶
type FlexablenftPausedIterator struct { Event *FlexablenftPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Flexablenft contract.
func (*FlexablenftPausedIterator) Close ¶
func (it *FlexablenftPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftPausedIterator) Error ¶
func (it *FlexablenftPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftPausedIterator) Next ¶
func (it *FlexablenftPausedIterator) 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 FlexablenftRaw ¶
type FlexablenftRaw struct {
Contract *Flexablenft // Generic contract binding to access the raw methods on
}
FlexablenftRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FlexablenftRaw) Call ¶
func (_Flexablenft *FlexablenftRaw) 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 (*FlexablenftRaw) Transact ¶
func (_Flexablenft *FlexablenftRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlexablenftRaw) Transfer ¶
func (_Flexablenft *FlexablenftRaw) 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 FlexablenftRoleAdminChanged ¶
type FlexablenftRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
FlexablenftRoleAdminChanged represents a RoleAdminChanged event raised by the Flexablenft contract.
type FlexablenftRoleAdminChangedIterator ¶
type FlexablenftRoleAdminChangedIterator struct { Event *FlexablenftRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Flexablenft contract.
func (*FlexablenftRoleAdminChangedIterator) Close ¶
func (it *FlexablenftRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftRoleAdminChangedIterator) Error ¶
func (it *FlexablenftRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftRoleAdminChangedIterator) Next ¶
func (it *FlexablenftRoleAdminChangedIterator) 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 FlexablenftRoleGranted ¶
type FlexablenftRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
FlexablenftRoleGranted represents a RoleGranted event raised by the Flexablenft contract.
type FlexablenftRoleGrantedIterator ¶
type FlexablenftRoleGrantedIterator struct { Event *FlexablenftRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Flexablenft contract.
func (*FlexablenftRoleGrantedIterator) Close ¶
func (it *FlexablenftRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftRoleGrantedIterator) Error ¶
func (it *FlexablenftRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftRoleGrantedIterator) Next ¶
func (it *FlexablenftRoleGrantedIterator) 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 FlexablenftRoleRevoked ¶
type FlexablenftRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
FlexablenftRoleRevoked represents a RoleRevoked event raised by the Flexablenft contract.
type FlexablenftRoleRevokedIterator ¶
type FlexablenftRoleRevokedIterator struct { Event *FlexablenftRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Flexablenft contract.
func (*FlexablenftRoleRevokedIterator) Close ¶
func (it *FlexablenftRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftRoleRevokedIterator) Error ¶
func (it *FlexablenftRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftRoleRevokedIterator) Next ¶
func (it *FlexablenftRoleRevokedIterator) 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 FlexablenftRoyaltyUpdated ¶
type FlexablenftRoyaltyUpdated struct { Reciever common.Address PercentageBasisPoint *big.Int Raw types.Log // Blockchain specific contextual infos }
FlexablenftRoyaltyUpdated represents a RoyaltyUpdated event raised by the Flexablenft contract.
type FlexablenftRoyaltyUpdatedIterator ¶
type FlexablenftRoyaltyUpdatedIterator struct { Event *FlexablenftRoyaltyUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftRoyaltyUpdatedIterator is returned from FilterRoyaltyUpdated and is used to iterate over the raw logs and unpacked data for RoyaltyUpdated events raised by the Flexablenft contract.
func (*FlexablenftRoyaltyUpdatedIterator) Close ¶
func (it *FlexablenftRoyaltyUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftRoyaltyUpdatedIterator) Error ¶
func (it *FlexablenftRoyaltyUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftRoyaltyUpdatedIterator) Next ¶
func (it *FlexablenftRoyaltyUpdatedIterator) 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 FlexablenftSession ¶
type FlexablenftSession struct { Contract *Flexablenft // 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 }
FlexablenftSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FlexablenftSession) Approve ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*FlexablenftSession) BurnTicket ¶
func (_Flexablenft *FlexablenftSession) BurnTicket(tokenId *big.Int) (*types.Transaction, error)
BurnTicket is a paid mutator transaction binding the contract method 0xa476b73d.
Solidity: function burnTicket(uint256 tokenId) returns()
func (*FlexablenftSession) CreateTicket ¶
func (_Flexablenft *FlexablenftSession) CreateTicket(metadataURI string) (*types.Transaction, error)
CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.
Solidity: function createTicket(string metadataURI) returns(uint256)
func (*FlexablenftSession) CreateTicketWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftSession) CreateTicketWithCustomRoyalty(metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
CreateTicketWithCustomRoyalty is a paid mutator transaction binding the contract method 0x9285a51b.
Solidity: function createTicketWithCustomRoyalty(string metadataURI, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftSession) DEFAULTADMINROLE ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) DelegateTicketCreation ¶
func (_Flexablenft *FlexablenftSession) DelegateTicketCreation(creator common.Address, metadataURI string) (*types.Transaction, error)
DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.
Solidity: function delegateTicketCreation(address creator, string metadataURI) returns(uint256)
func (*FlexablenftSession) DelegateTicketCreationWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftSession) DelegateTicketCreationWithCustomRoyalty(creator common.Address, metadataURI string, royaltyaddress common.Address, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
DelegateTicketCreationWithCustomRoyalty is a paid mutator transaction binding the contract method 0x2875970a.
Solidity: function delegateTicketCreationWithCustomRoyalty(address creator, string metadataURI, address royaltyaddress, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftSession) FLEXABLENFTADMINROLE ¶
func (_Flexablenft *FlexablenftSession) FLEXABLENFTADMINROLE() ([32]byte, error)
FLEXABLENFTADMINROLE is a free data retrieval call binding the contract method 0xea7676c7.
Solidity: function FLEXABLENFT_ADMIN_ROLE() view returns(bytes32)
func (*FlexablenftSession) FLEXABLENFTCREATORROLE ¶
func (_Flexablenft *FlexablenftSession) FLEXABLENFTCREATORROLE() ([32]byte, error)
FLEXABLENFTCREATORROLE is a free data retrieval call binding the contract method 0x0aca6616.
Solidity: function FLEXABLENFT_CREATOR_ROLE() view returns(bytes32)
func (*FlexablenftSession) FLEXABLENFTOPERATORROLE ¶
func (_Flexablenft *FlexablenftSession) FLEXABLENFTOPERATORROLE() ([32]byte, error)
FLEXABLENFTOPERATORROLE is a free data retrieval call binding the contract method 0x36a913b5.
Solidity: function FLEXABLENFT_OPERATOR_ROLE() view returns(bytes32)
func (*FlexablenftSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*FlexablenftSession) GetRoleAdmin ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) GetRoleMember ¶
func (_Flexablenft *FlexablenftSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*FlexablenftSession) GetRoleMemberCount ¶
func (_Flexablenft *FlexablenftSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*FlexablenftSession) GrantRole ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) HasRole ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) IsApprovedForAll ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) Name ¶
func (_Flexablenft *FlexablenftSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*FlexablenftSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*FlexablenftSession) Pause ¶
func (_Flexablenft *FlexablenftSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*FlexablenftSession) Paused ¶
func (_Flexablenft *FlexablenftSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*FlexablenftSession) RedeemTicket ¶
func (_Flexablenft *FlexablenftSession) RedeemTicket(tokenId *big.Int, info string) (*types.Transaction, error)
RedeemTicket is a paid mutator transaction binding the contract method 0x51a2c4e3.
Solidity: function redeemTicket(uint256 tokenId, string info) returns()
func (*FlexablenftSession) RenounceRole ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) RevokeRole ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) RoyaltyInfo ¶
func (_Flexablenft *FlexablenftSession) RoyaltyInfo(_tokenId *big.Int, _salePrice *big.Int) (common.Address, *big.Int, error)
RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.
Solidity: function royaltyInfo(uint256 _tokenId, uint256 _salePrice) view returns(address, uint256)
func (*FlexablenftSession) SafeTransferFrom ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) SafeTransferFrom0 ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) SetApprovalForAll ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) SupportsInterface ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) Symbol ¶
func (_Flexablenft *FlexablenftSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*FlexablenftSession) TicketStatus ¶
func (_Flexablenft *FlexablenftSession) TicketStatus(arg0 *big.Int) (struct { RedeemCount uint16 RedeemInfo string }, error)
TicketStatus is a free data retrieval call binding the contract method 0xce5956cb.
Solidity: function TicketStatus(uint256 ) view returns(uint16 redeemCount, string redeemInfo)
func (*FlexablenftSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*FlexablenftSession) TokenOfOwnerByIndex ¶
func (_Flexablenft *FlexablenftSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*FlexablenftSession) TokenURI ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) TotalSupply ¶
func (_Flexablenft *FlexablenftSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*FlexablenftSession) TransferFrom ¶
func (_Flexablenft *FlexablenftSession) 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 (*FlexablenftSession) Unpause ¶
func (_Flexablenft *FlexablenftSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*FlexablenftSession) UpdateDefaultRoyalty ¶
func (_Flexablenft *FlexablenftSession) UpdateDefaultRoyalty(royaltyReciever common.Address, percentageBasisPoint *big.Int) (*types.Transaction, error)
UpdateDefaultRoyalty is a paid mutator transaction binding the contract method 0xd691e43c.
Solidity: function updateDefaultRoyalty(address royaltyReciever, uint96 percentageBasisPoint) returns()
type FlexablenftTicketBurnt ¶
type FlexablenftTicketBurnt struct { TokenId *big.Int OwnerOrApproved common.Address Raw types.Log // Blockchain specific contextual infos }
FlexablenftTicketBurnt represents a TicketBurnt event raised by the Flexablenft contract.
type FlexablenftTicketBurntIterator ¶
type FlexablenftTicketBurntIterator struct { Event *FlexablenftTicketBurnt // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftTicketBurntIterator is returned from FilterTicketBurnt and is used to iterate over the raw logs and unpacked data for TicketBurnt events raised by the Flexablenft contract.
func (*FlexablenftTicketBurntIterator) Close ¶
func (it *FlexablenftTicketBurntIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftTicketBurntIterator) Error ¶
func (it *FlexablenftTicketBurntIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftTicketBurntIterator) Next ¶
func (it *FlexablenftTicketBurntIterator) 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 FlexablenftTicketCreated ¶
type FlexablenftTicketCreated struct { TokenID *big.Int Creator common.Address MetaDataURI string Raw types.Log // Blockchain specific contextual infos }
FlexablenftTicketCreated represents a TicketCreated event raised by the Flexablenft contract.
type FlexablenftTicketCreatedIterator ¶
type FlexablenftTicketCreatedIterator struct { Event *FlexablenftTicketCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftTicketCreatedIterator is returned from FilterTicketCreated and is used to iterate over the raw logs and unpacked data for TicketCreated events raised by the Flexablenft contract.
func (*FlexablenftTicketCreatedIterator) Close ¶
func (it *FlexablenftTicketCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftTicketCreatedIterator) Error ¶
func (it *FlexablenftTicketCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftTicketCreatedIterator) Next ¶
func (it *FlexablenftTicketCreatedIterator) 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 FlexablenftTicketRedeemed ¶
type FlexablenftTicketRedeemed struct { TokenID *big.Int Count uint16 Info string Raw types.Log // Blockchain specific contextual infos }
FlexablenftTicketRedeemed represents a TicketRedeemed event raised by the Flexablenft contract.
type FlexablenftTicketRedeemedIterator ¶
type FlexablenftTicketRedeemedIterator struct { Event *FlexablenftTicketRedeemed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftTicketRedeemedIterator is returned from FilterTicketRedeemed and is used to iterate over the raw logs and unpacked data for TicketRedeemed events raised by the Flexablenft contract.
func (*FlexablenftTicketRedeemedIterator) Close ¶
func (it *FlexablenftTicketRedeemedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftTicketRedeemedIterator) Error ¶
func (it *FlexablenftTicketRedeemedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftTicketRedeemedIterator) Next ¶
func (it *FlexablenftTicketRedeemedIterator) 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 FlexablenftTransactor ¶
type FlexablenftTransactor struct {
// contains filtered or unexported fields
}
FlexablenftTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFlexablenftTransactor ¶
func NewFlexablenftTransactor(address common.Address, transactor bind.ContractTransactor) (*FlexablenftTransactor, error)
NewFlexablenftTransactor creates a new write-only instance of Flexablenft, bound to a specific deployed contract.
func (*FlexablenftTransactor) Approve ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) BurnTicket ¶
func (_Flexablenft *FlexablenftTransactor) BurnTicket(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
BurnTicket is a paid mutator transaction binding the contract method 0xa476b73d.
Solidity: function burnTicket(uint256 tokenId) returns()
func (*FlexablenftTransactor) CreateTicket ¶
func (_Flexablenft *FlexablenftTransactor) CreateTicket(opts *bind.TransactOpts, metadataURI string) (*types.Transaction, error)
CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.
Solidity: function createTicket(string metadataURI) returns(uint256)
func (*FlexablenftTransactor) CreateTicketWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftTransactor) CreateTicketWithCustomRoyalty(opts *bind.TransactOpts, metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
CreateTicketWithCustomRoyalty is a paid mutator transaction binding the contract method 0x9285a51b.
Solidity: function createTicketWithCustomRoyalty(string metadataURI, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftTransactor) DelegateTicketCreation ¶
func (_Flexablenft *FlexablenftTransactor) DelegateTicketCreation(opts *bind.TransactOpts, creator common.Address, metadataURI string) (*types.Transaction, error)
DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.
Solidity: function delegateTicketCreation(address creator, string metadataURI) returns(uint256)
func (*FlexablenftTransactor) DelegateTicketCreationWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftTransactor) DelegateTicketCreationWithCustomRoyalty(opts *bind.TransactOpts, creator common.Address, metadataURI string, royaltyaddress common.Address, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
DelegateTicketCreationWithCustomRoyalty is a paid mutator transaction binding the contract method 0x2875970a.
Solidity: function delegateTicketCreationWithCustomRoyalty(address creator, string metadataURI, address royaltyaddress, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftTransactor) GrantRole ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) Pause ¶
func (_Flexablenft *FlexablenftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*FlexablenftTransactor) RedeemTicket ¶
func (_Flexablenft *FlexablenftTransactor) RedeemTicket(opts *bind.TransactOpts, tokenId *big.Int, info string) (*types.Transaction, error)
RedeemTicket is a paid mutator transaction binding the contract method 0x51a2c4e3.
Solidity: function redeemTicket(uint256 tokenId, string info) returns()
func (*FlexablenftTransactor) RenounceRole ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) RevokeRole ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) SafeTransferFrom ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) SafeTransferFrom0 ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) SetApprovalForAll ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) TransferFrom ¶
func (_Flexablenft *FlexablenftTransactor) 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 (*FlexablenftTransactor) Unpause ¶
func (_Flexablenft *FlexablenftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*FlexablenftTransactor) UpdateDefaultRoyalty ¶
func (_Flexablenft *FlexablenftTransactor) UpdateDefaultRoyalty(opts *bind.TransactOpts, royaltyReciever common.Address, percentageBasisPoint *big.Int) (*types.Transaction, error)
UpdateDefaultRoyalty is a paid mutator transaction binding the contract method 0xd691e43c.
Solidity: function updateDefaultRoyalty(address royaltyReciever, uint96 percentageBasisPoint) returns()
type FlexablenftTransactorRaw ¶
type FlexablenftTransactorRaw struct {
Contract *FlexablenftTransactor // Generic write-only contract binding to access the raw methods on
}
FlexablenftTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FlexablenftTransactorRaw) Transact ¶
func (_Flexablenft *FlexablenftTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FlexablenftTransactorRaw) Transfer ¶
func (_Flexablenft *FlexablenftTransactorRaw) 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 FlexablenftTransactorSession ¶
type FlexablenftTransactorSession struct { Contract *FlexablenftTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FlexablenftTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FlexablenftTransactorSession) Approve ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) BurnTicket ¶
func (_Flexablenft *FlexablenftTransactorSession) BurnTicket(tokenId *big.Int) (*types.Transaction, error)
BurnTicket is a paid mutator transaction binding the contract method 0xa476b73d.
Solidity: function burnTicket(uint256 tokenId) returns()
func (*FlexablenftTransactorSession) CreateTicket ¶
func (_Flexablenft *FlexablenftTransactorSession) CreateTicket(metadataURI string) (*types.Transaction, error)
CreateTicket is a paid mutator transaction binding the contract method 0x6897082f.
Solidity: function createTicket(string metadataURI) returns(uint256)
func (*FlexablenftTransactorSession) CreateTicketWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftTransactorSession) CreateTicketWithCustomRoyalty(metadataURI string, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
CreateTicketWithCustomRoyalty is a paid mutator transaction binding the contract method 0x9285a51b.
Solidity: function createTicketWithCustomRoyalty(string metadataURI, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftTransactorSession) DelegateTicketCreation ¶
func (_Flexablenft *FlexablenftTransactorSession) DelegateTicketCreation(creator common.Address, metadataURI string) (*types.Transaction, error)
DelegateTicketCreation is a paid mutator transaction binding the contract method 0x00c95078.
Solidity: function delegateTicketCreation(address creator, string metadataURI) returns(uint256)
func (*FlexablenftTransactorSession) DelegateTicketCreationWithCustomRoyalty ¶
func (_Flexablenft *FlexablenftTransactorSession) DelegateTicketCreationWithCustomRoyalty(creator common.Address, metadataURI string, royaltyaddress common.Address, royaltyPercentBasisPoint *big.Int) (*types.Transaction, error)
DelegateTicketCreationWithCustomRoyalty is a paid mutator transaction binding the contract method 0x2875970a.
Solidity: function delegateTicketCreationWithCustomRoyalty(address creator, string metadataURI, address royaltyaddress, uint96 royaltyPercentBasisPoint) returns(uint256)
func (*FlexablenftTransactorSession) GrantRole ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) Pause ¶
func (_Flexablenft *FlexablenftTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*FlexablenftTransactorSession) RedeemTicket ¶
func (_Flexablenft *FlexablenftTransactorSession) RedeemTicket(tokenId *big.Int, info string) (*types.Transaction, error)
RedeemTicket is a paid mutator transaction binding the contract method 0x51a2c4e3.
Solidity: function redeemTicket(uint256 tokenId, string info) returns()
func (*FlexablenftTransactorSession) RenounceRole ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) RevokeRole ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) SafeTransferFrom ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) SafeTransferFrom0 ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) SetApprovalForAll ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) TransferFrom ¶
func (_Flexablenft *FlexablenftTransactorSession) 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 (*FlexablenftTransactorSession) Unpause ¶
func (_Flexablenft *FlexablenftTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*FlexablenftTransactorSession) UpdateDefaultRoyalty ¶
func (_Flexablenft *FlexablenftTransactorSession) UpdateDefaultRoyalty(royaltyReciever common.Address, percentageBasisPoint *big.Int) (*types.Transaction, error)
UpdateDefaultRoyalty is a paid mutator transaction binding the contract method 0xd691e43c.
Solidity: function updateDefaultRoyalty(address royaltyReciever, uint96 percentageBasisPoint) returns()
type FlexablenftTransfer ¶
type FlexablenftTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
FlexablenftTransfer represents a Transfer event raised by the Flexablenft contract.
type FlexablenftTransferIterator ¶
type FlexablenftTransferIterator struct { Event *FlexablenftTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Flexablenft contract.
func (*FlexablenftTransferIterator) Close ¶
func (it *FlexablenftTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftTransferIterator) Error ¶
func (it *FlexablenftTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftTransferIterator) Next ¶
func (it *FlexablenftTransferIterator) 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 FlexablenftUnpaused ¶
type FlexablenftUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
FlexablenftUnpaused represents a Unpaused event raised by the Flexablenft contract.
type FlexablenftUnpausedIterator ¶
type FlexablenftUnpausedIterator struct { Event *FlexablenftUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FlexablenftUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Flexablenft contract.
func (*FlexablenftUnpausedIterator) Close ¶
func (it *FlexablenftUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FlexablenftUnpausedIterator) Error ¶
func (it *FlexablenftUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FlexablenftUnpausedIterator) Next ¶
func (it *FlexablenftUnpausedIterator) 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.