Documentation
¶
Index ¶
- Variables
- func DecodeBurnTransaction(txhash string) (string, int, error)
- func DecodeMintTransaction(txhash string) (string, int, error)
- func GetEthClient() *ethclient.Client
- func Init(url string) error
- func IsAdmin(address string) (bool, error)
- func ParseAddress(addr string) string
- type SoulBoundToken
- type SoulBoundTokenApproval
- type SoulBoundTokenApprovalForAll
- type SoulBoundTokenApprovalForAllIterator
- type SoulBoundTokenApprovalIterator
- type SoulBoundTokenBatchMetadataUpdate
- type SoulBoundTokenBatchMetadataUpdateIterator
- type SoulBoundTokenCaller
- func (_SoulBoundToken *SoulBoundTokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) BurnAuth(opts *bind.CallOpts, tokenId *big.Int) (uint8, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_SoulBoundToken *SoulBoundTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SoulBoundTokenCallerRaw
- type SoulBoundTokenCallerSession
- func (_SoulBoundToken *SoulBoundTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) BurnAuth(tokenId *big.Int) (uint8, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) MINTERROLE() ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) Name() (string, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) Symbol() (string, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_SoulBoundToken *SoulBoundTokenCallerSession) TotalSupply() (*big.Int, error)
- type SoulBoundTokenFilterer
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*SoulBoundTokenApprovalIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*SoulBoundTokenApprovalForAllIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*SoulBoundTokenBatchMetadataUpdateIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterIssued(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*SoulBoundTokenIssuedIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*SoulBoundTokenMetadataUpdateIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*SoulBoundTokenRoleAdminChangedIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SoulBoundTokenRoleGrantedIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SoulBoundTokenRoleRevokedIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*SoulBoundTokenTransferIterator, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseApproval(log types.Log) (*SoulBoundTokenApproval, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseApprovalForAll(log types.Log) (*SoulBoundTokenApprovalForAll, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseBatchMetadataUpdate(log types.Log) (*SoulBoundTokenBatchMetadataUpdate, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseIssued(log types.Log) (*SoulBoundTokenIssued, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseMetadataUpdate(log types.Log) (*SoulBoundTokenMetadataUpdate, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleAdminChanged(log types.Log) (*SoulBoundTokenRoleAdminChanged, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleGranted(log types.Log) (*SoulBoundTokenRoleGranted, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleRevoked(log types.Log) (*SoulBoundTokenRoleRevoked, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) ParseTransfer(log types.Log) (*SoulBoundTokenTransfer, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenApproval, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenApprovalForAll, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenBatchMetadataUpdate) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchIssued(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenIssued, from []common.Address, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenMetadataUpdate) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleAdminChanged, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_SoulBoundToken *SoulBoundTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenTransfer, ...) (event.Subscription, error)
- type SoulBoundTokenIssued
- type SoulBoundTokenIssuedIterator
- type SoulBoundTokenMetadataUpdate
- type SoulBoundTokenMetadataUpdateIterator
- type SoulBoundTokenRaw
- func (_SoulBoundToken *SoulBoundTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SoulBoundToken *SoulBoundTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SoulBoundTokenRoleAdminChanged
- type SoulBoundTokenRoleAdminChangedIterator
- type SoulBoundTokenRoleGranted
- type SoulBoundTokenRoleGrantedIterator
- type SoulBoundTokenRoleRevoked
- type SoulBoundTokenRoleRevokedIterator
- type SoulBoundTokenSession
- func (_SoulBoundToken *SoulBoundTokenSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) BurnAuth(tokenId *big.Int) (uint8, error)
- func (_SoulBoundToken *SoulBoundTokenSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenSession) MINTERROLE() ([32]byte, error)
- func (_SoulBoundToken *SoulBoundTokenSession) Name() (string, error)
- func (_SoulBoundToken *SoulBoundTokenSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_SoulBoundToken *SoulBoundTokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SoulBoundToken *SoulBoundTokenSession) Symbol() (string, error)
- func (_SoulBoundToken *SoulBoundTokenSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenSession) TokenURI(tokenId *big.Int) (string, error)
- func (_SoulBoundToken *SoulBoundTokenSession) TotalSupply() (*big.Int, error)
- func (_SoulBoundToken *SoulBoundTokenSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type SoulBoundTokenTransactor
- func (_SoulBoundToken *SoulBoundTokenTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type SoulBoundTokenTransactorRaw
- type SoulBoundTokenTransactorSession
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_SoulBoundToken *SoulBoundTokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type SoulBoundTokenTransfer
- type SoulBoundTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var SoulBoundTokenABI = SoulBoundTokenMetaData.ABI
SoulBoundTokenABI is the input ABI used to generate the binding from. Deprecated: Use SoulBoundTokenMetaData.ABI instead.
var SoulBoundTokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\"},{\"indexed\":false,\"internalType\":\"enumSoulBoundToken.BurnAuth\",\"name\":\"burnAuth\",\"type\":\"uint8\"}],\"name\":\"Issued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"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\"},{\"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\":[{\"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\":\"burnAuth\",\"outputs\":[{\"internalType\":\"enumSoulBoundToken.BurnAuth\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":\"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\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\":[{\"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\"}]",
}
SoulBoundTokenMetaData contains all meta data concerning the SoulBoundToken contract.
Functions ¶
func GetEthClient ¶
func ParseAddress ¶
Types ¶
type SoulBoundToken ¶
type SoulBoundToken struct {
SoulBoundTokenCaller // Read-only binding to the contract
SoulBoundTokenTransactor // Write-only binding to the contract
SoulBoundTokenFilterer // Log filterer for contract events
}
SoulBoundToken is an auto generated Go binding around an Ethereum contract.
func NewSoulBoundToken ¶
func NewSoulBoundToken(address common.Address, backend bind.ContractBackend) (*SoulBoundToken, error)
NewSoulBoundToken creates a new instance of SoulBoundToken, bound to a specific deployed contract.
type SoulBoundTokenApproval ¶
type SoulBoundTokenApproval struct {
Owner common.Address
Approved common.Address
TokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenApproval represents a Approval event raised by the SoulBoundToken contract.
type SoulBoundTokenApprovalForAll ¶
type SoulBoundTokenApprovalForAll struct {
Owner common.Address
Operator common.Address
Approved bool
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenApprovalForAll represents a ApprovalForAll event raised by the SoulBoundToken contract.
type SoulBoundTokenApprovalForAllIterator ¶
type SoulBoundTokenApprovalForAllIterator struct {
Event *SoulBoundTokenApprovalForAll // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the SoulBoundToken contract.
func (*SoulBoundTokenApprovalForAllIterator) Close ¶
func (it *SoulBoundTokenApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenApprovalForAllIterator) Error ¶
func (it *SoulBoundTokenApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenApprovalForAllIterator) Next ¶
func (it *SoulBoundTokenApprovalForAllIterator) 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 SoulBoundTokenApprovalIterator ¶
type SoulBoundTokenApprovalIterator struct {
Event *SoulBoundTokenApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SoulBoundToken contract.
func (*SoulBoundTokenApprovalIterator) Close ¶
func (it *SoulBoundTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenApprovalIterator) Error ¶
func (it *SoulBoundTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenApprovalIterator) Next ¶
func (it *SoulBoundTokenApprovalIterator) 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 SoulBoundTokenBatchMetadataUpdate ¶
type SoulBoundTokenBatchMetadataUpdate struct {
FromTokenId *big.Int
ToTokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the SoulBoundToken contract.
type SoulBoundTokenBatchMetadataUpdateIterator ¶
type SoulBoundTokenBatchMetadataUpdateIterator struct {
Event *SoulBoundTokenBatchMetadataUpdate // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenBatchMetadataUpdateIterator is returned from FilterBatchMetadataUpdate and is used to iterate over the raw logs and unpacked data for BatchMetadataUpdate events raised by the SoulBoundToken contract.
func (*SoulBoundTokenBatchMetadataUpdateIterator) Close ¶
func (it *SoulBoundTokenBatchMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenBatchMetadataUpdateIterator) Error ¶
func (it *SoulBoundTokenBatchMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenBatchMetadataUpdateIterator) Next ¶
func (it *SoulBoundTokenBatchMetadataUpdateIterator) 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 SoulBoundTokenCaller ¶
type SoulBoundTokenCaller struct {
// contains filtered or unexported fields
}
SoulBoundTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSoulBoundTokenCaller ¶
func NewSoulBoundTokenCaller(address common.Address, caller bind.ContractCaller) (*SoulBoundTokenCaller, error)
NewSoulBoundTokenCaller creates a new read-only instance of SoulBoundToken, bound to a specific deployed contract.
func (*SoulBoundTokenCaller) BalanceOf ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) BurnAuth ¶
func (_SoulBoundToken *SoulBoundTokenCaller) BurnAuth(opts *bind.CallOpts, tokenId *big.Int) (uint8, error)
BurnAuth is a free data retrieval call binding the contract method 0x0489b56f.
Solidity: function burnAuth(uint256 tokenId) view returns(uint8)
func (*SoulBoundTokenCaller) DEFAULTADMINROLE ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) GetApproved ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) GetRoleAdmin ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) HasRole ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) IsApprovedForAll ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) MINTERROLE ¶
func (_SoulBoundToken *SoulBoundTokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*SoulBoundTokenCaller) Name ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) OwnerOf ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) SupportsInterface ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) Symbol ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) TokenByIndex ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) TokenOfOwnerByIndex ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) TokenURI ¶
func (_SoulBoundToken *SoulBoundTokenCaller) 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 (*SoulBoundTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SoulBoundTokenCallerRaw ¶
type SoulBoundTokenCallerRaw struct {
Contract *SoulBoundTokenCaller // Generic read-only contract binding to access the raw methods on
}
SoulBoundTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SoulBoundTokenCallerRaw) Call ¶
func (_SoulBoundToken *SoulBoundTokenCallerRaw) 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 SoulBoundTokenCallerSession ¶
type SoulBoundTokenCallerSession struct {
Contract *SoulBoundTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SoulBoundTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SoulBoundTokenCallerSession) BalanceOf ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*SoulBoundTokenCallerSession) BurnAuth ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) BurnAuth(tokenId *big.Int) (uint8, error)
BurnAuth is a free data retrieval call binding the contract method 0x0489b56f.
Solidity: function burnAuth(uint256 tokenId) view returns(uint8)
func (*SoulBoundTokenCallerSession) DEFAULTADMINROLE ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) GetApproved ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*SoulBoundTokenCallerSession) GetRoleAdmin ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) HasRole ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) IsApprovedForAll ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) MINTERROLE ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*SoulBoundTokenCallerSession) Name ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SoulBoundTokenCallerSession) OwnerOf ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*SoulBoundTokenCallerSession) SupportsInterface ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) Symbol ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SoulBoundTokenCallerSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*SoulBoundTokenCallerSession) TokenOfOwnerByIndex ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) TokenURI ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) 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 (*SoulBoundTokenCallerSession) TotalSupply ¶
func (_SoulBoundToken *SoulBoundTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SoulBoundTokenFilterer ¶
type SoulBoundTokenFilterer struct {
// contains filtered or unexported fields
}
SoulBoundTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSoulBoundTokenFilterer ¶
func NewSoulBoundTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*SoulBoundTokenFilterer, error)
NewSoulBoundTokenFilterer creates a new log filterer instance of SoulBoundToken, bound to a specific deployed contract.
func (*SoulBoundTokenFilterer) FilterApproval ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*SoulBoundTokenApprovalIterator, 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 (*SoulBoundTokenFilterer) FilterApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*SoulBoundTokenApprovalForAllIterator, 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 (*SoulBoundTokenFilterer) FilterBatchMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*SoulBoundTokenBatchMetadataUpdateIterator, error)
FilterBatchMetadataUpdate is a free log retrieval operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*SoulBoundTokenFilterer) FilterIssued ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterIssued(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*SoulBoundTokenIssuedIterator, error)
FilterIssued is a free log retrieval operation binding the contract event 0x135ffb3383e06280e062ac5095bbf8faa98517161e596a2536bd98a9a8b64a88.
Solidity: event Issued(address indexed from, address indexed to, uint256 indexed tokenId, uint8 burnAuth)
func (*SoulBoundTokenFilterer) FilterMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*SoulBoundTokenMetadataUpdateIterator, error)
FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*SoulBoundTokenFilterer) FilterRoleAdminChanged ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*SoulBoundTokenRoleAdminChangedIterator, 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 (*SoulBoundTokenFilterer) FilterRoleGranted ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SoulBoundTokenRoleGrantedIterator, 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 (*SoulBoundTokenFilterer) FilterRoleRevoked ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SoulBoundTokenRoleRevokedIterator, 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 (*SoulBoundTokenFilterer) FilterTransfer ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*SoulBoundTokenTransferIterator, 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 (*SoulBoundTokenFilterer) ParseApproval ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseApproval(log types.Log) (*SoulBoundTokenApproval, 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 (*SoulBoundTokenFilterer) ParseApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseApprovalForAll(log types.Log) (*SoulBoundTokenApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*SoulBoundTokenFilterer) ParseBatchMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseBatchMetadataUpdate(log types.Log) (*SoulBoundTokenBatchMetadataUpdate, error)
ParseBatchMetadataUpdate is a log parse operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*SoulBoundTokenFilterer) ParseIssued ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseIssued(log types.Log) (*SoulBoundTokenIssued, error)
ParseIssued is a log parse operation binding the contract event 0x135ffb3383e06280e062ac5095bbf8faa98517161e596a2536bd98a9a8b64a88.
Solidity: event Issued(address indexed from, address indexed to, uint256 indexed tokenId, uint8 burnAuth)
func (*SoulBoundTokenFilterer) ParseMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseMetadataUpdate(log types.Log) (*SoulBoundTokenMetadataUpdate, error)
ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*SoulBoundTokenFilterer) ParseRoleAdminChanged ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleAdminChanged(log types.Log) (*SoulBoundTokenRoleAdminChanged, 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 (*SoulBoundTokenFilterer) ParseRoleGranted ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleGranted(log types.Log) (*SoulBoundTokenRoleGranted, 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 (*SoulBoundTokenFilterer) ParseRoleRevoked ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseRoleRevoked(log types.Log) (*SoulBoundTokenRoleRevoked, 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 (*SoulBoundTokenFilterer) ParseTransfer ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) ParseTransfer(log types.Log) (*SoulBoundTokenTransfer, 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 (*SoulBoundTokenFilterer) WatchApproval ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenApproval, 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 (*SoulBoundTokenFilterer) WatchApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenApprovalForAll, 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 (*SoulBoundTokenFilterer) WatchBatchMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenBatchMetadataUpdate) (event.Subscription, error)
WatchBatchMetadataUpdate is a free log subscription operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*SoulBoundTokenFilterer) WatchIssued ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchIssued(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenIssued, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchIssued is a free log subscription operation binding the contract event 0x135ffb3383e06280e062ac5095bbf8faa98517161e596a2536bd98a9a8b64a88.
Solidity: event Issued(address indexed from, address indexed to, uint256 indexed tokenId, uint8 burnAuth)
func (*SoulBoundTokenFilterer) WatchMetadataUpdate ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenMetadataUpdate) (event.Subscription, error)
WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*SoulBoundTokenFilterer) WatchRoleAdminChanged ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleAdminChanged, 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 (*SoulBoundTokenFilterer) WatchRoleGranted ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleGranted, 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 (*SoulBoundTokenFilterer) WatchRoleRevoked ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenRoleRevoked, 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 (*SoulBoundTokenFilterer) WatchTransfer ¶
func (_SoulBoundToken *SoulBoundTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SoulBoundTokenTransfer, 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)
type SoulBoundTokenIssued ¶
type SoulBoundTokenIssued struct {
From common.Address
To common.Address
TokenId *big.Int
BurnAuth uint8
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenIssued represents a Issued event raised by the SoulBoundToken contract.
type SoulBoundTokenIssuedIterator ¶
type SoulBoundTokenIssuedIterator struct {
Event *SoulBoundTokenIssued // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenIssuedIterator is returned from FilterIssued and is used to iterate over the raw logs and unpacked data for Issued events raised by the SoulBoundToken contract.
func (*SoulBoundTokenIssuedIterator) Close ¶
func (it *SoulBoundTokenIssuedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenIssuedIterator) Error ¶
func (it *SoulBoundTokenIssuedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenIssuedIterator) Next ¶
func (it *SoulBoundTokenIssuedIterator) 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 SoulBoundTokenMetadataUpdate ¶
type SoulBoundTokenMetadataUpdate struct {
TokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenMetadataUpdate represents a MetadataUpdate event raised by the SoulBoundToken contract.
type SoulBoundTokenMetadataUpdateIterator ¶
type SoulBoundTokenMetadataUpdateIterator struct {
Event *SoulBoundTokenMetadataUpdate // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the SoulBoundToken contract.
func (*SoulBoundTokenMetadataUpdateIterator) Close ¶
func (it *SoulBoundTokenMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenMetadataUpdateIterator) Error ¶
func (it *SoulBoundTokenMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenMetadataUpdateIterator) Next ¶
func (it *SoulBoundTokenMetadataUpdateIterator) 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 SoulBoundTokenRaw ¶
type SoulBoundTokenRaw struct {
Contract *SoulBoundToken // Generic contract binding to access the raw methods on
}
SoulBoundTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SoulBoundTokenRaw) Call ¶
func (_SoulBoundToken *SoulBoundTokenRaw) 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 (*SoulBoundTokenRaw) Transact ¶
func (_SoulBoundToken *SoulBoundTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SoulBoundTokenRaw) Transfer ¶
func (_SoulBoundToken *SoulBoundTokenRaw) 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 SoulBoundTokenRoleAdminChanged ¶
type SoulBoundTokenRoleAdminChanged struct {
Role [32]byte
PreviousAdminRole [32]byte
NewAdminRole [32]byte
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenRoleAdminChanged represents a RoleAdminChanged event raised by the SoulBoundToken contract.
type SoulBoundTokenRoleAdminChangedIterator ¶
type SoulBoundTokenRoleAdminChangedIterator struct {
Event *SoulBoundTokenRoleAdminChanged // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the SoulBoundToken contract.
func (*SoulBoundTokenRoleAdminChangedIterator) Close ¶
func (it *SoulBoundTokenRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenRoleAdminChangedIterator) Error ¶
func (it *SoulBoundTokenRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenRoleAdminChangedIterator) Next ¶
func (it *SoulBoundTokenRoleAdminChangedIterator) 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 SoulBoundTokenRoleGranted ¶
type SoulBoundTokenRoleGranted struct {
Role [32]byte
Account common.Address
Sender common.Address
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenRoleGranted represents a RoleGranted event raised by the SoulBoundToken contract.
type SoulBoundTokenRoleGrantedIterator ¶
type SoulBoundTokenRoleGrantedIterator struct {
Event *SoulBoundTokenRoleGranted // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the SoulBoundToken contract.
func (*SoulBoundTokenRoleGrantedIterator) Close ¶
func (it *SoulBoundTokenRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenRoleGrantedIterator) Error ¶
func (it *SoulBoundTokenRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenRoleGrantedIterator) Next ¶
func (it *SoulBoundTokenRoleGrantedIterator) 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 SoulBoundTokenRoleRevoked ¶
type SoulBoundTokenRoleRevoked struct {
Role [32]byte
Account common.Address
Sender common.Address
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenRoleRevoked represents a RoleRevoked event raised by the SoulBoundToken contract.
type SoulBoundTokenRoleRevokedIterator ¶
type SoulBoundTokenRoleRevokedIterator struct {
Event *SoulBoundTokenRoleRevoked // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the SoulBoundToken contract.
func (*SoulBoundTokenRoleRevokedIterator) Close ¶
func (it *SoulBoundTokenRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenRoleRevokedIterator) Error ¶
func (it *SoulBoundTokenRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenRoleRevokedIterator) Next ¶
func (it *SoulBoundTokenRoleRevokedIterator) 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 SoulBoundTokenSession ¶
type SoulBoundTokenSession struct {
Contract *SoulBoundToken // 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
}
SoulBoundTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SoulBoundTokenSession) Approve ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*SoulBoundTokenSession) Burn ¶
func (_SoulBoundToken *SoulBoundTokenSession) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*SoulBoundTokenSession) BurnAuth ¶
func (_SoulBoundToken *SoulBoundTokenSession) BurnAuth(tokenId *big.Int) (uint8, error)
BurnAuth is a free data retrieval call binding the contract method 0x0489b56f.
Solidity: function burnAuth(uint256 tokenId) view returns(uint8)
func (*SoulBoundTokenSession) DEFAULTADMINROLE ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*SoulBoundTokenSession) GetRoleAdmin ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) GrantRole ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) HasRole ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) IsApprovedForAll ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) MINTERROLE ¶
func (_SoulBoundToken *SoulBoundTokenSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*SoulBoundTokenSession) Name ¶
func (_SoulBoundToken *SoulBoundTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SoulBoundTokenSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*SoulBoundTokenSession) RenounceRole ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) RevokeRole ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) SafeMint ¶
func (_SoulBoundToken *SoulBoundTokenSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*SoulBoundTokenSession) SafeTransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) SafeTransferFrom0 ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) SetApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) SupportsInterface ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) Symbol ¶
func (_SoulBoundToken *SoulBoundTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SoulBoundTokenSession) TokenByIndex ¶
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*SoulBoundTokenSession) TokenOfOwnerByIndex ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) TokenURI ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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 (*SoulBoundTokenSession) TotalSupply ¶
func (_SoulBoundToken *SoulBoundTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SoulBoundTokenSession) TransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenSession) 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()
type SoulBoundTokenTransactor ¶
type SoulBoundTokenTransactor struct {
// contains filtered or unexported fields
}
SoulBoundTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSoulBoundTokenTransactor ¶
func NewSoulBoundTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*SoulBoundTokenTransactor, error)
NewSoulBoundTokenTransactor creates a new write-only instance of SoulBoundToken, bound to a specific deployed contract.
func (*SoulBoundTokenTransactor) Approve ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) Burn ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*SoulBoundTokenTransactor) GrantRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) RenounceRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) RevokeRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) SafeMint ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*SoulBoundTokenTransactor) SafeTransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) SafeTransferFrom0 ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) SetApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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 (*SoulBoundTokenTransactor) TransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenTransactor) 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()
type SoulBoundTokenTransactorRaw ¶
type SoulBoundTokenTransactorRaw struct {
Contract *SoulBoundTokenTransactor // Generic write-only contract binding to access the raw methods on
}
SoulBoundTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SoulBoundTokenTransactorRaw) Transact ¶
func (_SoulBoundToken *SoulBoundTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SoulBoundTokenTransactorRaw) Transfer ¶
func (_SoulBoundToken *SoulBoundTokenTransactorRaw) 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 SoulBoundTokenTransactorSession ¶
type SoulBoundTokenTransactorSession struct {
Contract *SoulBoundTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SoulBoundTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SoulBoundTokenTransactorSession) Approve ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) Burn ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*SoulBoundTokenTransactorSession) GrantRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) RenounceRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) RevokeRole ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) SafeMint ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*SoulBoundTokenTransactorSession) SafeTransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) SafeTransferFrom0 ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) SetApprovalForAll ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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 (*SoulBoundTokenTransactorSession) TransferFrom ¶
func (_SoulBoundToken *SoulBoundTokenTransactorSession) 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()
type SoulBoundTokenTransfer ¶
type SoulBoundTokenTransfer struct {
From common.Address
To common.Address
TokenId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SoulBoundTokenTransfer represents a Transfer event raised by the SoulBoundToken contract.
type SoulBoundTokenTransferIterator ¶
type SoulBoundTokenTransferIterator struct {
Event *SoulBoundTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SoulBoundTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SoulBoundToken contract.
func (*SoulBoundTokenTransferIterator) Close ¶
func (it *SoulBoundTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SoulBoundTokenTransferIterator) Error ¶
func (it *SoulBoundTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SoulBoundTokenTransferIterator) Next ¶
func (it *SoulBoundTokenTransferIterator) 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.