Documentation ¶
Index ¶
- Constants
- type Address
- type AddressCaller
- type AddressCallerRaw
- type AddressCallerSession
- type AddressFilterer
- type AddressRaw
- func (_Address *AddressRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressSession
- type AddressTransactor
- type AddressTransactorRaw
- type AddressTransactorSession
- type Counters
- type CountersCaller
- type CountersCallerRaw
- type CountersCallerSession
- type CountersFilterer
- type CountersRaw
- func (_Counters *CountersRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Counters *CountersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Counters *CountersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CountersSession
- type CountersTransactor
- type CountersTransactorRaw
- type CountersTransactorSession
- type EnumerableMap
- type EnumerableMapCaller
- type EnumerableMapCallerRaw
- type EnumerableMapCallerSession
- type EnumerableMapFilterer
- type EnumerableMapRaw
- func (_EnumerableMap *EnumerableMapRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_EnumerableMap *EnumerableMapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EnumerableMap *EnumerableMapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EnumerableMapSession
- type EnumerableMapTransactor
- type EnumerableMapTransactorRaw
- type EnumerableMapTransactorSession
- type EnumerableSet
- type EnumerableSetCaller
- type EnumerableSetCallerRaw
- type EnumerableSetCallerSession
- type EnumerableSetFilterer
- type EnumerableSetRaw
- func (_EnumerableSet *EnumerableSetRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_EnumerableSet *EnumerableSetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EnumerableSet *EnumerableSetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EnumerableSetSession
- type EnumerableSetTransactor
- type EnumerableSetTransactorRaw
- type EnumerableSetTransactorSession
- type ItemContract
- type ItemContractApproval
- type ItemContractApprovalIterator
- type ItemContractCaller
- func (_ItemContract *ItemContractCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCaller) GetCount(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ItemContract *ItemContractCaller) GetCreator(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCaller) GetDCI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractCaller) GetName(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractCaller) GetOwner(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCaller) GetTokenId(opts *bind.CallOpts, dci string) (*big.Int, error)
- func (_ItemContract *ItemContractCaller) GetTokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type ItemContractCallerRaw
- type ItemContractCallerSession
- func (_ItemContract *ItemContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCallerSession) GetCount(owner common.Address) (*big.Int, error)
- func (_ItemContract *ItemContractCallerSession) GetCreator(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCallerSession) GetDCI(tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractCallerSession) GetName(tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractCallerSession) GetOwner(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractCallerSession) GetTokenId(dci string) (*big.Int, error)
- func (_ItemContract *ItemContractCallerSession) GetTokenURI(tokenId *big.Int) (string, error)
- type ItemContractCreate
- type ItemContractCreateIterator
- type ItemContractFilterer
- func (_ItemContract *ItemContractFilterer) FilterApproval(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ItemContractApprovalIterator, error)
- func (_ItemContract *ItemContractFilterer) FilterCreate(opts *bind.FilterOpts, from []common.Address, tokenId []*big.Int) (*ItemContractCreateIterator, error)
- func (_ItemContract *ItemContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ItemContractTransferIterator, error)
- func (_ItemContract *ItemContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ItemContractApproval, from []common.Address, ...) (event.Subscription, error)
- func (_ItemContract *ItemContractFilterer) WatchCreate(opts *bind.WatchOpts, sink chan<- *ItemContractCreate, from []common.Address, ...) (event.Subscription, error)
- func (_ItemContract *ItemContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ItemContractTransfer, from []common.Address, ...) (event.Subscription, error)
- type ItemContractRaw
- func (_ItemContract *ItemContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ItemContract *ItemContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ItemContract *ItemContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ItemContractSession
- func (_ItemContract *ItemContractSession) Approve(tokenId *big.Int, to common.Address) (*types.Transaction, error)
- func (_ItemContract *ItemContractSession) Create(dci string, name string, tokenURI string) (*types.Transaction, error)
- func (_ItemContract *ItemContractSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractSession) GetCount(owner common.Address) (*big.Int, error)
- func (_ItemContract *ItemContractSession) GetCreator(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractSession) GetDCI(tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractSession) GetName(tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractSession) GetOwner(tokenId *big.Int) (common.Address, error)
- func (_ItemContract *ItemContractSession) GetTokenId(dci string) (*big.Int, error)
- func (_ItemContract *ItemContractSession) GetTokenURI(tokenId *big.Int) (string, error)
- func (_ItemContract *ItemContractSession) Transfer(tokenId *big.Int, to common.Address) (*types.Transaction, error)
- type ItemContractTransactor
- func (_ItemContract *ItemContractTransactor) Approve(opts *bind.TransactOpts, tokenId *big.Int, to common.Address) (*types.Transaction, error)
- func (_ItemContract *ItemContractTransactor) Create(opts *bind.TransactOpts, dci string, name string, tokenURI string) (*types.Transaction, error)
- func (_ItemContract *ItemContractTransactor) Transfer(opts *bind.TransactOpts, tokenId *big.Int, to common.Address) (*types.Transaction, error)
- type ItemContractTransactorRaw
- type ItemContractTransactorSession
- func (_ItemContract *ItemContractTransactorSession) Approve(tokenId *big.Int, to common.Address) (*types.Transaction, error)
- func (_ItemContract *ItemContractTransactorSession) Create(dci string, name string, tokenURI string) (*types.Transaction, error)
- func (_ItemContract *ItemContractTransactorSession) Transfer(tokenId *big.Int, to common.Address) (*types.Transaction, error)
- type ItemContractTransfer
- type ItemContractTransferIterator
- type LicenseContract
- type LicenseContractBuy
- type LicenseContractBuyIterator
- type LicenseContractCaller
- func (_LicenseContract *LicenseContractCaller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)
- func (_LicenseContract *LicenseContractCaller) GetDeadline(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCaller) GetDuration(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCaller) GetPrice(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCaller) GetSeller(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_LicenseContract *LicenseContractCaller) GetType(opts *bind.CallOpts, tokenId *big.Int) (uint8, error)
- func (_LicenseContract *LicenseContractCaller) HasValidLicense(opts *bind.CallOpts, tokenId *big.Int) (bool, error)
- type LicenseContractCallerRaw
- type LicenseContractCallerSession
- func (_LicenseContract *LicenseContractCallerSession) Exists(tokenId *big.Int) (bool, error)
- func (_LicenseContract *LicenseContractCallerSession) GetDeadline(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCallerSession) GetDuration(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCallerSession) GetPrice(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractCallerSession) GetSeller(tokenId *big.Int) (common.Address, error)
- func (_LicenseContract *LicenseContractCallerSession) GetType(tokenId *big.Int) (uint8, error)
- func (_LicenseContract *LicenseContractCallerSession) HasValidLicense(tokenId *big.Int) (bool, error)
- type LicenseContractCreate
- type LicenseContractCreateIterator
- type LicenseContractFilterer
- func (_LicenseContract *LicenseContractFilterer) FilterBuy(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractBuyIterator, error)
- func (_LicenseContract *LicenseContractFilterer) FilterCreate(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractCreateIterator, error)
- func (_LicenseContract *LicenseContractFilterer) FilterFinish(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractFinishIterator, error)
- func (_LicenseContract *LicenseContractFilterer) WatchBuy(opts *bind.WatchOpts, sink chan<- *LicenseContractBuy, tokenId []*big.Int) (event.Subscription, error)
- func (_LicenseContract *LicenseContractFilterer) WatchCreate(opts *bind.WatchOpts, sink chan<- *LicenseContractCreate, tokenId []*big.Int) (event.Subscription, error)
- func (_LicenseContract *LicenseContractFilterer) WatchFinish(opts *bind.WatchOpts, sink chan<- *LicenseContractFinish, tokenId []*big.Int) (event.Subscription, error)
- type LicenseContractFinish
- type LicenseContractFinishIterator
- type LicenseContractRaw
- func (_LicenseContract *LicenseContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LicenseContract *LicenseContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LicenseContractSession
- func (_LicenseContract *LicenseContractSession) Buy(tokenId *big.Int) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractSession) Create(tokenId *big.Int, price *big.Int, duration *big.Int, types uint8) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractSession) Exists(tokenId *big.Int) (bool, error)
- func (_LicenseContract *LicenseContractSession) Finish(tokenId *big.Int) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractSession) GetDeadline(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractSession) GetDuration(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractSession) GetPrice(tokenId *big.Int) (*big.Int, error)
- func (_LicenseContract *LicenseContractSession) GetSeller(tokenId *big.Int) (common.Address, error)
- func (_LicenseContract *LicenseContractSession) GetType(tokenId *big.Int) (uint8, error)
- func (_LicenseContract *LicenseContractSession) HasValidLicense(tokenId *big.Int) (bool, error)
- type LicenseContractTransactor
- func (_LicenseContract *LicenseContractTransactor) Buy(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractTransactor) Create(opts *bind.TransactOpts, tokenId *big.Int, price *big.Int, duration *big.Int, ...) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractTransactor) Finish(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- type LicenseContractTransactorRaw
- type LicenseContractTransactorSession
- func (_LicenseContract *LicenseContractTransactorSession) Buy(tokenId *big.Int) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractTransactorSession) Create(tokenId *big.Int, price *big.Int, duration *big.Int, types uint8) (*types.Transaction, error)
- func (_LicenseContract *LicenseContractTransactorSession) Finish(tokenId *big.Int) (*types.Transaction, error)
- type ReentrancyGuard
- type ReentrancyGuardCaller
- type ReentrancyGuardCallerRaw
- type ReentrancyGuardCallerSession
- type ReentrancyGuardFilterer
- type ReentrancyGuardRaw
- func (_ReentrancyGuard *ReentrancyGuardRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ReentrancyGuard *ReentrancyGuardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ReentrancyGuard *ReentrancyGuardRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReentrancyGuardSession
- type ReentrancyGuardTransactor
- type ReentrancyGuardTransactorRaw
- type ReentrancyGuardTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const AddressABI = "[]"
AddressABI is the input ABI used to generate the binding from.
const AddressBin = `` /* 242-byte string literal not displayed */
AddressBin is the compiled bytecode used for deploying new contracts.
const CountersABI = "[]"
CountersABI is the input ABI used to generate the binding from.
const CountersBin = `` /* 242-byte string literal not displayed */
CountersBin is the compiled bytecode used for deploying new contracts.
const EnumerableMapABI = "[]"
EnumerableMapABI is the input ABI used to generate the binding from.
const EnumerableMapBin = `` /* 242-byte string literal not displayed */
EnumerableMapBin is the compiled bytecode used for deploying new contracts.
const EnumerableSetABI = "[]"
EnumerableSetABI is the input ABI used to generate the binding from.
const EnumerableSetBin = `` /* 242-byte string literal not displayed */
EnumerableSetBin is the compiled bytecode used for deploying new contracts.
const ItemContractABI = "" /* 3460-byte string literal not displayed */
ItemContractABI is the input ABI used to generate the binding from.
const ItemContractBin = `` /* 10788-byte string literal not displayed */
ItemContractBin is the compiled bytecode used for deploying new contracts.
const LicenseContractABI = "" /* 3457-byte string literal not displayed */
LicenseContractABI is the input ABI used to generate the binding from.
const LicenseContractBin = `` /* 10532-byte string literal not displayed */
LicenseContractBin is the compiled bytecode used for deploying new contracts.
const ReentrancyGuardABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"
ReentrancyGuardABI is the input ABI used to generate the binding from.
const ReentrancyGuardBin = `0x`
ReentrancyGuardBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶ added in v0.0.9
type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events }
Address is an auto generated Go binding around an Ethereum contract.
func DeployAddress ¶ added in v0.0.9
func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)
DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.
func NewAddress ¶ added in v0.0.9
NewAddress creates a new instance of Address, bound to a specific deployed contract.
type AddressCaller ¶ added in v0.0.9
type AddressCaller struct {
// contains filtered or unexported fields
}
AddressCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressCaller ¶ added in v0.0.9
func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)
NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.
type AddressCallerRaw ¶ added in v0.0.9
type AddressCallerRaw struct {
Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}
AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressCallerRaw) Call ¶ added in v0.0.9
func (_Address *AddressCallerRaw) 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 AddressCallerSession ¶ added in v0.0.9
type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressFilterer ¶ added in v0.0.9
type AddressFilterer struct {
// contains filtered or unexported fields
}
AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressFilterer ¶ added in v0.0.9
func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)
NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.
type AddressRaw ¶ added in v0.0.9
type AddressRaw struct {
Contract *Address // Generic contract binding to access the raw methods on
}
AddressRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressRaw) Call ¶ added in v0.0.9
func (_Address *AddressRaw) 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 (*AddressRaw) Transact ¶ added in v0.0.9
func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressRaw) Transfer ¶ added in v0.0.9
func (_Address *AddressRaw) 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 AddressSession ¶ added in v0.0.9
type AddressSession struct { Contract *Address // 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 }
AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressTransactor ¶ added in v0.0.9
type AddressTransactor struct {
// contains filtered or unexported fields
}
AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressTransactor ¶ added in v0.0.9
func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)
NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.
type AddressTransactorRaw ¶ added in v0.0.9
type AddressTransactorRaw struct {
Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}
AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressTransactorRaw) Transact ¶ added in v0.0.9
func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressTransactorRaw) Transfer ¶ added in v0.0.9
func (_Address *AddressTransactorRaw) 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 AddressTransactorSession ¶ added in v0.0.9
type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Counters ¶ added in v0.0.9
type Counters struct { CountersCaller // Read-only binding to the contract CountersTransactor // Write-only binding to the contract CountersFilterer // Log filterer for contract events }
Counters is an auto generated Go binding around an Ethereum contract.
func DeployCounters ¶ added in v0.0.9
func DeployCounters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Counters, error)
DeployCounters deploys a new Ethereum contract, binding an instance of Counters to it.
func NewCounters ¶ added in v0.0.9
NewCounters creates a new instance of Counters, bound to a specific deployed contract.
type CountersCaller ¶ added in v0.0.9
type CountersCaller struct {
// contains filtered or unexported fields
}
CountersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCountersCaller ¶ added in v0.0.9
func NewCountersCaller(address common.Address, caller bind.ContractCaller) (*CountersCaller, error)
NewCountersCaller creates a new read-only instance of Counters, bound to a specific deployed contract.
type CountersCallerRaw ¶ added in v0.0.9
type CountersCallerRaw struct {
Contract *CountersCaller // Generic read-only contract binding to access the raw methods on
}
CountersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CountersCallerRaw) Call ¶ added in v0.0.9
func (_Counters *CountersCallerRaw) 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 CountersCallerSession ¶ added in v0.0.9
type CountersCallerSession struct { Contract *CountersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CountersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type CountersFilterer ¶ added in v0.0.9
type CountersFilterer struct {
// contains filtered or unexported fields
}
CountersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCountersFilterer ¶ added in v0.0.9
func NewCountersFilterer(address common.Address, filterer bind.ContractFilterer) (*CountersFilterer, error)
NewCountersFilterer creates a new log filterer instance of Counters, bound to a specific deployed contract.
type CountersRaw ¶ added in v0.0.9
type CountersRaw struct {
Contract *Counters // Generic contract binding to access the raw methods on
}
CountersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CountersRaw) Call ¶ added in v0.0.9
func (_Counters *CountersRaw) 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 (*CountersRaw) Transact ¶ added in v0.0.9
func (_Counters *CountersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CountersRaw) Transfer ¶ added in v0.0.9
func (_Counters *CountersRaw) 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 CountersSession ¶ added in v0.0.9
type CountersSession struct { Contract *Counters // 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 }
CountersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type CountersTransactor ¶ added in v0.0.9
type CountersTransactor struct {
// contains filtered or unexported fields
}
CountersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCountersTransactor ¶ added in v0.0.9
func NewCountersTransactor(address common.Address, transactor bind.ContractTransactor) (*CountersTransactor, error)
NewCountersTransactor creates a new write-only instance of Counters, bound to a specific deployed contract.
type CountersTransactorRaw ¶ added in v0.0.9
type CountersTransactorRaw struct {
Contract *CountersTransactor // Generic write-only contract binding to access the raw methods on
}
CountersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CountersTransactorRaw) Transact ¶ added in v0.0.9
func (_Counters *CountersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CountersTransactorRaw) Transfer ¶ added in v0.0.9
func (_Counters *CountersTransactorRaw) 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 CountersTransactorSession ¶ added in v0.0.9
type CountersTransactorSession struct { Contract *CountersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CountersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type EnumerableMap ¶ added in v0.0.9
type EnumerableMap struct { EnumerableMapCaller // Read-only binding to the contract EnumerableMapTransactor // Write-only binding to the contract EnumerableMapFilterer // Log filterer for contract events }
EnumerableMap is an auto generated Go binding around an Ethereum contract.
func DeployEnumerableMap ¶ added in v0.0.9
func DeployEnumerableMap(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EnumerableMap, error)
DeployEnumerableMap deploys a new Ethereum contract, binding an instance of EnumerableMap to it.
func NewEnumerableMap ¶ added in v0.0.9
func NewEnumerableMap(address common.Address, backend bind.ContractBackend) (*EnumerableMap, error)
NewEnumerableMap creates a new instance of EnumerableMap, bound to a specific deployed contract.
type EnumerableMapCaller ¶ added in v0.0.9
type EnumerableMapCaller struct {
// contains filtered or unexported fields
}
EnumerableMapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEnumerableMapCaller ¶ added in v0.0.9
func NewEnumerableMapCaller(address common.Address, caller bind.ContractCaller) (*EnumerableMapCaller, error)
NewEnumerableMapCaller creates a new read-only instance of EnumerableMap, bound to a specific deployed contract.
type EnumerableMapCallerRaw ¶ added in v0.0.9
type EnumerableMapCallerRaw struct {
Contract *EnumerableMapCaller // Generic read-only contract binding to access the raw methods on
}
EnumerableMapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EnumerableMapCallerRaw) Call ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapCallerRaw) 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 EnumerableMapCallerSession ¶ added in v0.0.9
type EnumerableMapCallerSession struct { Contract *EnumerableMapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EnumerableMapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type EnumerableMapFilterer ¶ added in v0.0.9
type EnumerableMapFilterer struct {
// contains filtered or unexported fields
}
EnumerableMapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEnumerableMapFilterer ¶ added in v0.0.9
func NewEnumerableMapFilterer(address common.Address, filterer bind.ContractFilterer) (*EnumerableMapFilterer, error)
NewEnumerableMapFilterer creates a new log filterer instance of EnumerableMap, bound to a specific deployed contract.
type EnumerableMapRaw ¶ added in v0.0.9
type EnumerableMapRaw struct {
Contract *EnumerableMap // Generic contract binding to access the raw methods on
}
EnumerableMapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EnumerableMapRaw) Call ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapRaw) 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 (*EnumerableMapRaw) Transact ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EnumerableMapRaw) Transfer ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapRaw) 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 EnumerableMapSession ¶ added in v0.0.9
type EnumerableMapSession struct { Contract *EnumerableMap // 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 }
EnumerableMapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type EnumerableMapTransactor ¶ added in v0.0.9
type EnumerableMapTransactor struct {
// contains filtered or unexported fields
}
EnumerableMapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEnumerableMapTransactor ¶ added in v0.0.9
func NewEnumerableMapTransactor(address common.Address, transactor bind.ContractTransactor) (*EnumerableMapTransactor, error)
NewEnumerableMapTransactor creates a new write-only instance of EnumerableMap, bound to a specific deployed contract.
type EnumerableMapTransactorRaw ¶ added in v0.0.9
type EnumerableMapTransactorRaw struct {
Contract *EnumerableMapTransactor // Generic write-only contract binding to access the raw methods on
}
EnumerableMapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EnumerableMapTransactorRaw) Transact ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EnumerableMapTransactorRaw) Transfer ¶ added in v0.0.9
func (_EnumerableMap *EnumerableMapTransactorRaw) 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 EnumerableMapTransactorSession ¶ added in v0.0.9
type EnumerableMapTransactorSession struct { Contract *EnumerableMapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EnumerableMapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type EnumerableSet ¶ added in v0.0.9
type EnumerableSet struct { EnumerableSetCaller // Read-only binding to the contract EnumerableSetTransactor // Write-only binding to the contract EnumerableSetFilterer // Log filterer for contract events }
EnumerableSet is an auto generated Go binding around an Ethereum contract.
func DeployEnumerableSet ¶ added in v0.0.9
func DeployEnumerableSet(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EnumerableSet, error)
DeployEnumerableSet deploys a new Ethereum contract, binding an instance of EnumerableSet to it.
func NewEnumerableSet ¶ added in v0.0.9
func NewEnumerableSet(address common.Address, backend bind.ContractBackend) (*EnumerableSet, error)
NewEnumerableSet creates a new instance of EnumerableSet, bound to a specific deployed contract.
type EnumerableSetCaller ¶ added in v0.0.9
type EnumerableSetCaller struct {
// contains filtered or unexported fields
}
EnumerableSetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEnumerableSetCaller ¶ added in v0.0.9
func NewEnumerableSetCaller(address common.Address, caller bind.ContractCaller) (*EnumerableSetCaller, error)
NewEnumerableSetCaller creates a new read-only instance of EnumerableSet, bound to a specific deployed contract.
type EnumerableSetCallerRaw ¶ added in v0.0.9
type EnumerableSetCallerRaw struct {
Contract *EnumerableSetCaller // Generic read-only contract binding to access the raw methods on
}
EnumerableSetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EnumerableSetCallerRaw) Call ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetCallerRaw) 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 EnumerableSetCallerSession ¶ added in v0.0.9
type EnumerableSetCallerSession struct { Contract *EnumerableSetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EnumerableSetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type EnumerableSetFilterer ¶ added in v0.0.9
type EnumerableSetFilterer struct {
// contains filtered or unexported fields
}
EnumerableSetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEnumerableSetFilterer ¶ added in v0.0.9
func NewEnumerableSetFilterer(address common.Address, filterer bind.ContractFilterer) (*EnumerableSetFilterer, error)
NewEnumerableSetFilterer creates a new log filterer instance of EnumerableSet, bound to a specific deployed contract.
type EnumerableSetRaw ¶ added in v0.0.9
type EnumerableSetRaw struct {
Contract *EnumerableSet // Generic contract binding to access the raw methods on
}
EnumerableSetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EnumerableSetRaw) Call ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetRaw) 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 (*EnumerableSetRaw) Transact ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EnumerableSetRaw) Transfer ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetRaw) 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 EnumerableSetSession ¶ added in v0.0.9
type EnumerableSetSession struct { Contract *EnumerableSet // 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 }
EnumerableSetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type EnumerableSetTransactor ¶ added in v0.0.9
type EnumerableSetTransactor struct {
// contains filtered or unexported fields
}
EnumerableSetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEnumerableSetTransactor ¶ added in v0.0.9
func NewEnumerableSetTransactor(address common.Address, transactor bind.ContractTransactor) (*EnumerableSetTransactor, error)
NewEnumerableSetTransactor creates a new write-only instance of EnumerableSet, bound to a specific deployed contract.
type EnumerableSetTransactorRaw ¶ added in v0.0.9
type EnumerableSetTransactorRaw struct {
Contract *EnumerableSetTransactor // Generic write-only contract binding to access the raw methods on
}
EnumerableSetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EnumerableSetTransactorRaw) Transact ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EnumerableSetTransactorRaw) Transfer ¶ added in v0.0.9
func (_EnumerableSet *EnumerableSetTransactorRaw) 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 EnumerableSetTransactorSession ¶ added in v0.0.9
type EnumerableSetTransactorSession struct { Contract *EnumerableSetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EnumerableSetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ItemContract ¶ added in v0.0.9
type ItemContract struct { ItemContractCaller // Read-only binding to the contract ItemContractTransactor // Write-only binding to the contract ItemContractFilterer // Log filterer for contract events }
ItemContract is an auto generated Go binding around an Ethereum contract.
func DeployItemContract ¶ added in v0.0.9
func DeployItemContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ItemContract, error)
DeployItemContract deploys a new Ethereum contract, binding an instance of ItemContract to it.
func NewItemContract ¶ added in v0.0.9
func NewItemContract(address common.Address, backend bind.ContractBackend) (*ItemContract, error)
NewItemContract creates a new instance of ItemContract, bound to a specific deployed contract.
type ItemContractApproval ¶ added in v0.0.9
type ItemContractApproval struct { From common.Address To common.Address TokenId *big.Int Dci string Raw types.Log // Blockchain specific contextual infos }
ItemContractApproval represents a Approval event raised by the ItemContract contract.
type ItemContractApprovalIterator ¶ added in v0.0.9
type ItemContractApprovalIterator struct { Event *ItemContractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ItemContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ItemContract contract.
func (*ItemContractApprovalIterator) Close ¶ added in v0.0.9
func (it *ItemContractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ItemContractApprovalIterator) Error ¶ added in v0.0.9
func (it *ItemContractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ItemContractApprovalIterator) Next ¶ added in v0.0.9
func (it *ItemContractApprovalIterator) 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 ItemContractCaller ¶ added in v0.0.9
type ItemContractCaller struct {
// contains filtered or unexported fields
}
ItemContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewItemContractCaller ¶ added in v0.0.9
func NewItemContractCaller(address common.Address, caller bind.ContractCaller) (*ItemContractCaller, error)
NewItemContractCaller creates a new read-only instance of ItemContract, bound to a specific deployed contract.
func (*ItemContractCaller) GetApproved ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) 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(tokenId uint256) constant returns(address)
func (*ItemContractCaller) GetCount ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetCount(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
GetCount is a free data retrieval call binding the contract method 0x4f0cd27b.
Solidity: function getCount(owner address) constant returns(uint256)
func (*ItemContractCaller) GetCreator ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetCreator(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetCreator is a free data retrieval call binding the contract method 0xd48e638a.
Solidity: function getCreator(tokenId uint256) constant returns(address)
func (*ItemContractCaller) GetDCI ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetDCI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
GetDCI is a free data retrieval call binding the contract method 0xdb157339.
Solidity: function getDCI(tokenId uint256) constant returns(string)
func (*ItemContractCaller) GetName ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetName(opts *bind.CallOpts, tokenId *big.Int) (string, error)
GetName is a free data retrieval call binding the contract method 0x6b8ff574.
Solidity: function getName(tokenId uint256) constant returns(string)
func (*ItemContractCaller) GetOwner ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetOwner(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0xc41a360a.
Solidity: function getOwner(tokenId uint256) constant returns(address)
func (*ItemContractCaller) GetTokenId ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetTokenId(opts *bind.CallOpts, dci string) (*big.Int, error)
GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.
Solidity: function getTokenId(dci string) constant returns(uint256)
func (*ItemContractCaller) GetTokenURI ¶ added in v0.0.9
func (_ItemContract *ItemContractCaller) GetTokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
GetTokenURI is a free data retrieval call binding the contract method 0x3bb3a24d.
Solidity: function getTokenURI(tokenId uint256) constant returns(string)
type ItemContractCallerRaw ¶ added in v0.0.9
type ItemContractCallerRaw struct {
Contract *ItemContractCaller // Generic read-only contract binding to access the raw methods on
}
ItemContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ItemContractCallerRaw) Call ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerRaw) 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 ItemContractCallerSession ¶ added in v0.0.9
type ItemContractCallerSession struct { Contract *ItemContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ItemContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ItemContractCallerSession) GetApproved ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(tokenId uint256) constant returns(address)
func (*ItemContractCallerSession) GetCount ¶ added in v0.0.9
GetCount is a free data retrieval call binding the contract method 0x4f0cd27b.
Solidity: function getCount(owner address) constant returns(uint256)
func (*ItemContractCallerSession) GetCreator ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetCreator(tokenId *big.Int) (common.Address, error)
GetCreator is a free data retrieval call binding the contract method 0xd48e638a.
Solidity: function getCreator(tokenId uint256) constant returns(address)
func (*ItemContractCallerSession) GetDCI ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetDCI(tokenId *big.Int) (string, error)
GetDCI is a free data retrieval call binding the contract method 0xdb157339.
Solidity: function getDCI(tokenId uint256) constant returns(string)
func (*ItemContractCallerSession) GetName ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetName(tokenId *big.Int) (string, error)
GetName is a free data retrieval call binding the contract method 0x6b8ff574.
Solidity: function getName(tokenId uint256) constant returns(string)
func (*ItemContractCallerSession) GetOwner ¶ added in v0.0.9
GetOwner is a free data retrieval call binding the contract method 0xc41a360a.
Solidity: function getOwner(tokenId uint256) constant returns(address)
func (*ItemContractCallerSession) GetTokenId ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetTokenId(dci string) (*big.Int, error)
GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.
Solidity: function getTokenId(dci string) constant returns(uint256)
func (*ItemContractCallerSession) GetTokenURI ¶ added in v0.0.9
func (_ItemContract *ItemContractCallerSession) GetTokenURI(tokenId *big.Int) (string, error)
GetTokenURI is a free data retrieval call binding the contract method 0x3bb3a24d.
Solidity: function getTokenURI(tokenId uint256) constant returns(string)
type ItemContractCreate ¶ added in v0.0.9
type ItemContractCreate struct { From common.Address TokenId *big.Int Dci string Name string TokenURI string Raw types.Log // Blockchain specific contextual infos }
ItemContractCreate represents a Create event raised by the ItemContract contract.
type ItemContractCreateIterator ¶ added in v0.0.9
type ItemContractCreateIterator struct { Event *ItemContractCreate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ItemContractCreateIterator is returned from FilterCreate and is used to iterate over the raw logs and unpacked data for Create events raised by the ItemContract contract.
func (*ItemContractCreateIterator) Close ¶ added in v0.0.9
func (it *ItemContractCreateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ItemContractCreateIterator) Error ¶ added in v0.0.9
func (it *ItemContractCreateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ItemContractCreateIterator) Next ¶ added in v0.0.9
func (it *ItemContractCreateIterator) 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 ItemContractFilterer ¶ added in v0.0.9
type ItemContractFilterer struct {
// contains filtered or unexported fields
}
ItemContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewItemContractFilterer ¶ added in v0.0.9
func NewItemContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ItemContractFilterer, error)
NewItemContractFilterer creates a new log filterer instance of ItemContract, bound to a specific deployed contract.
func (*ItemContractFilterer) FilterApproval ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) FilterApproval(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ItemContractApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0xfa07013316165a7c424e6be19a166ba4784477c405b341b4bb535985391e7baa.
Solidity: e Approval(from indexed address, to indexed address, tokenId indexed uint256, dci string)
func (*ItemContractFilterer) FilterCreate ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) FilterCreate(opts *bind.FilterOpts, from []common.Address, tokenId []*big.Int) (*ItemContractCreateIterator, error)
FilterCreate is a free log retrieval operation binding the contract event 0xefebf1e9cc6cf1906f62a4ed1545a6c54e027262b597e06b8e00abc4a3d8f501.
Solidity: e Create(from indexed address, tokenId indexed uint256, dci string, name string, tokenURI string)
func (*ItemContractFilterer) FilterTransfer ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ItemContractTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xcd6e659e4c2e75c3bfe47fecaccf39aeb368116a0ee52afb532e07f6cba6c0d1.
Solidity: e Transfer(from indexed address, to indexed address, tokenId indexed uint256, dci string)
func (*ItemContractFilterer) WatchApproval ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ItemContractApproval, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0xfa07013316165a7c424e6be19a166ba4784477c405b341b4bb535985391e7baa.
Solidity: e Approval(from indexed address, to indexed address, tokenId indexed uint256, dci string)
func (*ItemContractFilterer) WatchCreate ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) WatchCreate(opts *bind.WatchOpts, sink chan<- *ItemContractCreate, from []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchCreate is a free log subscription operation binding the contract event 0xefebf1e9cc6cf1906f62a4ed1545a6c54e027262b597e06b8e00abc4a3d8f501.
Solidity: e Create(from indexed address, tokenId indexed uint256, dci string, name string, tokenURI string)
func (*ItemContractFilterer) WatchTransfer ¶ added in v0.0.9
func (_ItemContract *ItemContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ItemContractTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xcd6e659e4c2e75c3bfe47fecaccf39aeb368116a0ee52afb532e07f6cba6c0d1.
Solidity: e Transfer(from indexed address, to indexed address, tokenId indexed uint256, dci string)
type ItemContractRaw ¶ added in v0.0.9
type ItemContractRaw struct {
Contract *ItemContract // Generic contract binding to access the raw methods on
}
ItemContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ItemContractRaw) Call ¶ added in v0.0.9
func (_ItemContract *ItemContractRaw) 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 (*ItemContractRaw) Transact ¶ added in v0.0.9
func (_ItemContract *ItemContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ItemContractRaw) Transfer ¶ added in v0.0.9
func (_ItemContract *ItemContractRaw) 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 ItemContractSession ¶ added in v0.0.9
type ItemContractSession struct { Contract *ItemContract // 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 }
ItemContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ItemContractSession) Approve ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) Approve(tokenId *big.Int, to common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xfebe4909.
Solidity: function approve(tokenId uint256, to address) returns()
func (*ItemContractSession) Create ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) Create(dci string, name string, tokenURI string) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x5d28560a.
Solidity: function create(dci string, name string, tokenURI string) returns()
func (*ItemContractSession) GetApproved ¶ added in v0.0.9
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(tokenId uint256) constant returns(address)
func (*ItemContractSession) GetCount ¶ added in v0.0.9
GetCount is a free data retrieval call binding the contract method 0x4f0cd27b.
Solidity: function getCount(owner address) constant returns(uint256)
func (*ItemContractSession) GetCreator ¶ added in v0.0.9
GetCreator is a free data retrieval call binding the contract method 0xd48e638a.
Solidity: function getCreator(tokenId uint256) constant returns(address)
func (*ItemContractSession) GetDCI ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) GetDCI(tokenId *big.Int) (string, error)
GetDCI is a free data retrieval call binding the contract method 0xdb157339.
Solidity: function getDCI(tokenId uint256) constant returns(string)
func (*ItemContractSession) GetName ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) GetName(tokenId *big.Int) (string, error)
GetName is a free data retrieval call binding the contract method 0x6b8ff574.
Solidity: function getName(tokenId uint256) constant returns(string)
func (*ItemContractSession) GetOwner ¶ added in v0.0.9
GetOwner is a free data retrieval call binding the contract method 0xc41a360a.
Solidity: function getOwner(tokenId uint256) constant returns(address)
func (*ItemContractSession) GetTokenId ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) GetTokenId(dci string) (*big.Int, error)
GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.
Solidity: function getTokenId(dci string) constant returns(uint256)
func (*ItemContractSession) GetTokenURI ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) GetTokenURI(tokenId *big.Int) (string, error)
GetTokenURI is a free data retrieval call binding the contract method 0x3bb3a24d.
Solidity: function getTokenURI(tokenId uint256) constant returns(string)
func (*ItemContractSession) Transfer ¶ added in v0.0.9
func (_ItemContract *ItemContractSession) Transfer(tokenId *big.Int, to common.Address) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xb7760c8f.
Solidity: function transfer(tokenId uint256, to address) returns()
type ItemContractTransactor ¶ added in v0.0.9
type ItemContractTransactor struct {
// contains filtered or unexported fields
}
ItemContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewItemContractTransactor ¶ added in v0.0.9
func NewItemContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ItemContractTransactor, error)
NewItemContractTransactor creates a new write-only instance of ItemContract, bound to a specific deployed contract.
func (*ItemContractTransactor) Approve ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactor) Approve(opts *bind.TransactOpts, tokenId *big.Int, to common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xfebe4909.
Solidity: function approve(tokenId uint256, to address) returns()
func (*ItemContractTransactor) Create ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactor) Create(opts *bind.TransactOpts, dci string, name string, tokenURI string) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x5d28560a.
Solidity: function create(dci string, name string, tokenURI string) returns()
func (*ItemContractTransactor) Transfer ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactor) Transfer(opts *bind.TransactOpts, tokenId *big.Int, to common.Address) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xb7760c8f.
Solidity: function transfer(tokenId uint256, to address) returns()
type ItemContractTransactorRaw ¶ added in v0.0.9
type ItemContractTransactorRaw struct {
Contract *ItemContractTransactor // Generic write-only contract binding to access the raw methods on
}
ItemContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ItemContractTransactorRaw) Transact ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ItemContractTransactorRaw) Transfer ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactorRaw) 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 ItemContractTransactorSession ¶ added in v0.0.9
type ItemContractTransactorSession struct { Contract *ItemContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ItemContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ItemContractTransactorSession) Approve ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactorSession) Approve(tokenId *big.Int, to common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xfebe4909.
Solidity: function approve(tokenId uint256, to address) returns()
func (*ItemContractTransactorSession) Create ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactorSession) Create(dci string, name string, tokenURI string) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x5d28560a.
Solidity: function create(dci string, name string, tokenURI string) returns()
func (*ItemContractTransactorSession) Transfer ¶ added in v0.0.9
func (_ItemContract *ItemContractTransactorSession) Transfer(tokenId *big.Int, to common.Address) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xb7760c8f.
Solidity: function transfer(tokenId uint256, to address) returns()
type ItemContractTransfer ¶ added in v0.0.9
type ItemContractTransfer struct { From common.Address To common.Address TokenId *big.Int Dci string Raw types.Log // Blockchain specific contextual infos }
ItemContractTransfer represents a Transfer event raised by the ItemContract contract.
type ItemContractTransferIterator ¶ added in v0.0.9
type ItemContractTransferIterator struct { Event *ItemContractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ItemContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ItemContract contract.
func (*ItemContractTransferIterator) Close ¶ added in v0.0.9
func (it *ItemContractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ItemContractTransferIterator) Error ¶ added in v0.0.9
func (it *ItemContractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ItemContractTransferIterator) Next ¶ added in v0.0.9
func (it *ItemContractTransferIterator) 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 LicenseContract ¶ added in v0.0.9
type LicenseContract struct { LicenseContractCaller // Read-only binding to the contract LicenseContractTransactor // Write-only binding to the contract LicenseContractFilterer // Log filterer for contract events }
LicenseContract is an auto generated Go binding around an Ethereum contract.
func DeployLicenseContract ¶ added in v0.0.9
func DeployLicenseContract(auth *bind.TransactOpts, backend bind.ContractBackend, itemContract common.Address) (common.Address, *types.Transaction, *LicenseContract, error)
DeployLicenseContract deploys a new Ethereum contract, binding an instance of LicenseContract to it.
func NewLicenseContract ¶ added in v0.0.9
func NewLicenseContract(address common.Address, backend bind.ContractBackend) (*LicenseContract, error)
NewLicenseContract creates a new instance of LicenseContract, bound to a specific deployed contract.
type LicenseContractBuy ¶ added in v0.0.9
type LicenseContractBuy struct { TokenId *big.Int Dci string Buyer common.Address Price *big.Int Begin *big.Int Deadline *big.Int Raw types.Log // Blockchain specific contextual infos }
LicenseContractBuy represents a Buy event raised by the LicenseContract contract.
type LicenseContractBuyIterator ¶ added in v0.0.9
type LicenseContractBuyIterator struct { Event *LicenseContractBuy // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LicenseContractBuyIterator is returned from FilterBuy and is used to iterate over the raw logs and unpacked data for Buy events raised by the LicenseContract contract.
func (*LicenseContractBuyIterator) Close ¶ added in v0.0.9
func (it *LicenseContractBuyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LicenseContractBuyIterator) Error ¶ added in v0.0.9
func (it *LicenseContractBuyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LicenseContractBuyIterator) Next ¶ added in v0.0.9
func (it *LicenseContractBuyIterator) 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 LicenseContractCaller ¶ added in v0.0.9
type LicenseContractCaller struct {
// contains filtered or unexported fields
}
LicenseContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLicenseContractCaller ¶ added in v0.0.9
func NewLicenseContractCaller(address common.Address, caller bind.ContractCaller) (*LicenseContractCaller, error)
NewLicenseContractCaller creates a new read-only instance of LicenseContract, bound to a specific deployed contract.
func (*LicenseContractCaller) Exists ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(tokenId uint256) constant returns(bool)
func (*LicenseContractCaller) GetDeadline ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) GetDeadline(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
GetDeadline is a free data retrieval call binding the contract method 0x82862275.
Solidity: function getDeadline(tokenId uint256) constant returns(uint256)
func (*LicenseContractCaller) GetDuration ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) GetDuration(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
GetDuration is a free data retrieval call binding the contract method 0x8bb126a7.
Solidity: function getDuration(tokenId uint256) constant returns(uint256)
func (*LicenseContractCaller) GetPrice ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) GetPrice(opts *bind.CallOpts, tokenId *big.Int) (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0xe7572230.
Solidity: function getPrice(tokenId uint256) constant returns(uint256)
func (*LicenseContractCaller) GetSeller ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) GetSeller(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetSeller is a free data retrieval call binding the contract method 0xd6a9de51.
Solidity: function getSeller(tokenId uint256) constant returns(address)
func (*LicenseContractCaller) GetType ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) GetType(opts *bind.CallOpts, tokenId *big.Int) (uint8, error)
GetType is a free data retrieval call binding the contract method 0x4036ab78.
Solidity: function getType(tokenId uint256) constant returns(uint8)
func (*LicenseContractCaller) HasValidLicense ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCaller) HasValidLicense(opts *bind.CallOpts, tokenId *big.Int) (bool, error)
HasValidLicense is a free data retrieval call binding the contract method 0x1c48fc7d.
Solidity: function hasValidLicense(tokenId uint256) constant returns(bool)
type LicenseContractCallerRaw ¶ added in v0.0.9
type LicenseContractCallerRaw struct {
Contract *LicenseContractCaller // Generic read-only contract binding to access the raw methods on
}
LicenseContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LicenseContractCallerRaw) Call ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerRaw) 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 LicenseContractCallerSession ¶ added in v0.0.9
type LicenseContractCallerSession struct { Contract *LicenseContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LicenseContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LicenseContractCallerSession) Exists ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) Exists(tokenId *big.Int) (bool, error)
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(tokenId uint256) constant returns(bool)
func (*LicenseContractCallerSession) GetDeadline ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) GetDeadline(tokenId *big.Int) (*big.Int, error)
GetDeadline is a free data retrieval call binding the contract method 0x82862275.
Solidity: function getDeadline(tokenId uint256) constant returns(uint256)
func (*LicenseContractCallerSession) GetDuration ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) GetDuration(tokenId *big.Int) (*big.Int, error)
GetDuration is a free data retrieval call binding the contract method 0x8bb126a7.
Solidity: function getDuration(tokenId uint256) constant returns(uint256)
func (*LicenseContractCallerSession) GetPrice ¶ added in v0.0.9
GetPrice is a free data retrieval call binding the contract method 0xe7572230.
Solidity: function getPrice(tokenId uint256) constant returns(uint256)
func (*LicenseContractCallerSession) GetSeller ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) GetSeller(tokenId *big.Int) (common.Address, error)
GetSeller is a free data retrieval call binding the contract method 0xd6a9de51.
Solidity: function getSeller(tokenId uint256) constant returns(address)
func (*LicenseContractCallerSession) GetType ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) GetType(tokenId *big.Int) (uint8, error)
GetType is a free data retrieval call binding the contract method 0x4036ab78.
Solidity: function getType(tokenId uint256) constant returns(uint8)
func (*LicenseContractCallerSession) HasValidLicense ¶ added in v0.0.9
func (_LicenseContract *LicenseContractCallerSession) HasValidLicense(tokenId *big.Int) (bool, error)
HasValidLicense is a free data retrieval call binding the contract method 0x1c48fc7d.
Solidity: function hasValidLicense(tokenId uint256) constant returns(bool)
type LicenseContractCreate ¶ added in v0.0.9
type LicenseContractCreate struct { TokenId *big.Int Dci string Seller common.Address Price *big.Int Duration *big.Int Types uint8 Raw types.Log // Blockchain specific contextual infos }
LicenseContractCreate represents a Create event raised by the LicenseContract contract.
type LicenseContractCreateIterator ¶ added in v0.0.9
type LicenseContractCreateIterator struct { Event *LicenseContractCreate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LicenseContractCreateIterator is returned from FilterCreate and is used to iterate over the raw logs and unpacked data for Create events raised by the LicenseContract contract.
func (*LicenseContractCreateIterator) Close ¶ added in v0.0.9
func (it *LicenseContractCreateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LicenseContractCreateIterator) Error ¶ added in v0.0.9
func (it *LicenseContractCreateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LicenseContractCreateIterator) Next ¶ added in v0.0.9
func (it *LicenseContractCreateIterator) 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 LicenseContractFilterer ¶ added in v0.0.9
type LicenseContractFilterer struct {
// contains filtered or unexported fields
}
LicenseContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLicenseContractFilterer ¶ added in v0.0.9
func NewLicenseContractFilterer(address common.Address, filterer bind.ContractFilterer) (*LicenseContractFilterer, error)
NewLicenseContractFilterer creates a new log filterer instance of LicenseContract, bound to a specific deployed contract.
func (*LicenseContractFilterer) FilterBuy ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) FilterBuy(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractBuyIterator, error)
FilterBuy is a free log retrieval operation binding the contract event 0x796f6dce3367b159259b3e453c82c061656d598433ecfa8e61d0836db22c467f.
Solidity: e Buy(tokenId indexed uint256, dci string, buyer address, price uint256, begin uint256, deadline uint256)
func (*LicenseContractFilterer) FilterCreate ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) FilterCreate(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractCreateIterator, error)
FilterCreate is a free log retrieval operation binding the contract event 0xbe73f037a1daf76ba29ba758a164aeb69584932da91df7c3332975c82faf00f7.
Solidity: e Create(tokenId indexed uint256, dci string, seller address, price uint256, duration uint256, types uint8)
func (*LicenseContractFilterer) FilterFinish ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) FilterFinish(opts *bind.FilterOpts, tokenId []*big.Int) (*LicenseContractFinishIterator, error)
FilterFinish is a free log retrieval operation binding the contract event 0x762a3b15ea494b75373369b598c062b25af5e229f043d2d1fda080ae0f5130e0.
Solidity: e Finish(tokenId indexed uint256, dci string)
func (*LicenseContractFilterer) WatchBuy ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) WatchBuy(opts *bind.WatchOpts, sink chan<- *LicenseContractBuy, tokenId []*big.Int) (event.Subscription, error)
WatchBuy is a free log subscription operation binding the contract event 0x796f6dce3367b159259b3e453c82c061656d598433ecfa8e61d0836db22c467f.
Solidity: e Buy(tokenId indexed uint256, dci string, buyer address, price uint256, begin uint256, deadline uint256)
func (*LicenseContractFilterer) WatchCreate ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) WatchCreate(opts *bind.WatchOpts, sink chan<- *LicenseContractCreate, tokenId []*big.Int) (event.Subscription, error)
WatchCreate is a free log subscription operation binding the contract event 0xbe73f037a1daf76ba29ba758a164aeb69584932da91df7c3332975c82faf00f7.
Solidity: e Create(tokenId indexed uint256, dci string, seller address, price uint256, duration uint256, types uint8)
func (*LicenseContractFilterer) WatchFinish ¶ added in v0.0.9
func (_LicenseContract *LicenseContractFilterer) WatchFinish(opts *bind.WatchOpts, sink chan<- *LicenseContractFinish, tokenId []*big.Int) (event.Subscription, error)
WatchFinish is a free log subscription operation binding the contract event 0x762a3b15ea494b75373369b598c062b25af5e229f043d2d1fda080ae0f5130e0.
Solidity: e Finish(tokenId indexed uint256, dci string)
type LicenseContractFinish ¶ added in v0.0.9
type LicenseContractFinish struct { TokenId *big.Int Dci string Raw types.Log // Blockchain specific contextual infos }
LicenseContractFinish represents a Finish event raised by the LicenseContract contract.
type LicenseContractFinishIterator ¶ added in v0.0.9
type LicenseContractFinishIterator struct { Event *LicenseContractFinish // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LicenseContractFinishIterator is returned from FilterFinish and is used to iterate over the raw logs and unpacked data for Finish events raised by the LicenseContract contract.
func (*LicenseContractFinishIterator) Close ¶ added in v0.0.9
func (it *LicenseContractFinishIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LicenseContractFinishIterator) Error ¶ added in v0.0.9
func (it *LicenseContractFinishIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LicenseContractFinishIterator) Next ¶ added in v0.0.9
func (it *LicenseContractFinishIterator) 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 LicenseContractRaw ¶ added in v0.0.9
type LicenseContractRaw struct {
Contract *LicenseContract // Generic contract binding to access the raw methods on
}
LicenseContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LicenseContractRaw) Call ¶ added in v0.0.9
func (_LicenseContract *LicenseContractRaw) 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 (*LicenseContractRaw) Transact ¶ added in v0.0.9
func (_LicenseContract *LicenseContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LicenseContractRaw) Transfer ¶ added in v0.0.9
func (_LicenseContract *LicenseContractRaw) 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 LicenseContractSession ¶ added in v0.0.9
type LicenseContractSession struct { Contract *LicenseContract // 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 }
LicenseContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LicenseContractSession) Buy ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) Buy(tokenId *big.Int) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0xd96a094a.
Solidity: function buy(tokenId uint256) returns(uint256)
func (*LicenseContractSession) Create ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) Create(tokenId *big.Int, price *big.Int, duration *big.Int, types uint8) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x80478ad1.
Solidity: function create(tokenId uint256, price uint256, duration uint256, types uint8) returns()
func (*LicenseContractSession) Exists ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) Exists(tokenId *big.Int) (bool, error)
Exists is a free data retrieval call binding the contract method 0x4f558e79.
Solidity: function exists(tokenId uint256) constant returns(bool)
func (*LicenseContractSession) Finish ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) Finish(tokenId *big.Int) (*types.Transaction, error)
Finish is a paid mutator transaction binding the contract method 0xd353a1cb.
Solidity: function finish(tokenId uint256) returns()
func (*LicenseContractSession) GetDeadline ¶ added in v0.0.9
GetDeadline is a free data retrieval call binding the contract method 0x82862275.
Solidity: function getDeadline(tokenId uint256) constant returns(uint256)
func (*LicenseContractSession) GetDuration ¶ added in v0.0.9
GetDuration is a free data retrieval call binding the contract method 0x8bb126a7.
Solidity: function getDuration(tokenId uint256) constant returns(uint256)
func (*LicenseContractSession) GetPrice ¶ added in v0.0.9
GetPrice is a free data retrieval call binding the contract method 0xe7572230.
Solidity: function getPrice(tokenId uint256) constant returns(uint256)
func (*LicenseContractSession) GetSeller ¶ added in v0.0.9
GetSeller is a free data retrieval call binding the contract method 0xd6a9de51.
Solidity: function getSeller(tokenId uint256) constant returns(address)
func (*LicenseContractSession) GetType ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) GetType(tokenId *big.Int) (uint8, error)
GetType is a free data retrieval call binding the contract method 0x4036ab78.
Solidity: function getType(tokenId uint256) constant returns(uint8)
func (*LicenseContractSession) HasValidLicense ¶ added in v0.0.9
func (_LicenseContract *LicenseContractSession) HasValidLicense(tokenId *big.Int) (bool, error)
HasValidLicense is a free data retrieval call binding the contract method 0x1c48fc7d.
Solidity: function hasValidLicense(tokenId uint256) constant returns(bool)
type LicenseContractTransactor ¶ added in v0.0.9
type LicenseContractTransactor struct {
// contains filtered or unexported fields
}
LicenseContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLicenseContractTransactor ¶ added in v0.0.9
func NewLicenseContractTransactor(address common.Address, transactor bind.ContractTransactor) (*LicenseContractTransactor, error)
NewLicenseContractTransactor creates a new write-only instance of LicenseContract, bound to a specific deployed contract.
func (*LicenseContractTransactor) Buy ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactor) Buy(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0xd96a094a.
Solidity: function buy(tokenId uint256) returns(uint256)
func (*LicenseContractTransactor) Create ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactor) Create(opts *bind.TransactOpts, tokenId *big.Int, price *big.Int, duration *big.Int, types uint8) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x80478ad1.
Solidity: function create(tokenId uint256, price uint256, duration uint256, types uint8) returns()
func (*LicenseContractTransactor) Finish ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactor) Finish(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
Finish is a paid mutator transaction binding the contract method 0xd353a1cb.
Solidity: function finish(tokenId uint256) returns()
type LicenseContractTransactorRaw ¶ added in v0.0.9
type LicenseContractTransactorRaw struct {
Contract *LicenseContractTransactor // Generic write-only contract binding to access the raw methods on
}
LicenseContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LicenseContractTransactorRaw) Transact ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LicenseContractTransactorRaw) Transfer ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactorRaw) 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 LicenseContractTransactorSession ¶ added in v0.0.9
type LicenseContractTransactorSession struct { Contract *LicenseContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LicenseContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LicenseContractTransactorSession) Buy ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactorSession) Buy(tokenId *big.Int) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0xd96a094a.
Solidity: function buy(tokenId uint256) returns(uint256)
func (*LicenseContractTransactorSession) Create ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactorSession) Create(tokenId *big.Int, price *big.Int, duration *big.Int, types uint8) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x80478ad1.
Solidity: function create(tokenId uint256, price uint256, duration uint256, types uint8) returns()
func (*LicenseContractTransactorSession) Finish ¶ added in v0.0.9
func (_LicenseContract *LicenseContractTransactorSession) Finish(tokenId *big.Int) (*types.Transaction, error)
Finish is a paid mutator transaction binding the contract method 0xd353a1cb.
Solidity: function finish(tokenId uint256) returns()
type ReentrancyGuard ¶ added in v0.0.9
type ReentrancyGuard struct { ReentrancyGuardCaller // Read-only binding to the contract ReentrancyGuardTransactor // Write-only binding to the contract ReentrancyGuardFilterer // Log filterer for contract events }
ReentrancyGuard is an auto generated Go binding around an Ethereum contract.
func DeployReentrancyGuard ¶ added in v0.0.9
func DeployReentrancyGuard(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ReentrancyGuard, error)
DeployReentrancyGuard deploys a new Ethereum contract, binding an instance of ReentrancyGuard to it.
func NewReentrancyGuard ¶ added in v0.0.9
func NewReentrancyGuard(address common.Address, backend bind.ContractBackend) (*ReentrancyGuard, error)
NewReentrancyGuard creates a new instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardCaller ¶ added in v0.0.9
type ReentrancyGuardCaller struct {
// contains filtered or unexported fields
}
ReentrancyGuardCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewReentrancyGuardCaller ¶ added in v0.0.9
func NewReentrancyGuardCaller(address common.Address, caller bind.ContractCaller) (*ReentrancyGuardCaller, error)
NewReentrancyGuardCaller creates a new read-only instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardCallerRaw ¶ added in v0.0.9
type ReentrancyGuardCallerRaw struct {
Contract *ReentrancyGuardCaller // Generic read-only contract binding to access the raw methods on
}
ReentrancyGuardCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ReentrancyGuardCallerRaw) Call ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardCallerRaw) 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 ReentrancyGuardCallerSession ¶ added in v0.0.9
type ReentrancyGuardCallerSession struct { Contract *ReentrancyGuardCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ReentrancyGuardCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ReentrancyGuardFilterer ¶ added in v0.0.9
type ReentrancyGuardFilterer struct {
// contains filtered or unexported fields
}
ReentrancyGuardFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewReentrancyGuardFilterer ¶ added in v0.0.9
func NewReentrancyGuardFilterer(address common.Address, filterer bind.ContractFilterer) (*ReentrancyGuardFilterer, error)
NewReentrancyGuardFilterer creates a new log filterer instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardRaw ¶ added in v0.0.9
type ReentrancyGuardRaw struct {
Contract *ReentrancyGuard // Generic contract binding to access the raw methods on
}
ReentrancyGuardRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ReentrancyGuardRaw) Call ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardRaw) 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 (*ReentrancyGuardRaw) Transact ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardRaw) Transfer ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardRaw) 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 ReentrancyGuardSession ¶ added in v0.0.9
type ReentrancyGuardSession struct { Contract *ReentrancyGuard // 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 }
ReentrancyGuardSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ReentrancyGuardTransactor ¶ added in v0.0.9
type ReentrancyGuardTransactor struct {
// contains filtered or unexported fields
}
ReentrancyGuardTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewReentrancyGuardTransactor ¶ added in v0.0.9
func NewReentrancyGuardTransactor(address common.Address, transactor bind.ContractTransactor) (*ReentrancyGuardTransactor, error)
NewReentrancyGuardTransactor creates a new write-only instance of ReentrancyGuard, bound to a specific deployed contract.
type ReentrancyGuardTransactorRaw ¶ added in v0.0.9
type ReentrancyGuardTransactorRaw struct {
Contract *ReentrancyGuardTransactor // Generic write-only contract binding to access the raw methods on
}
ReentrancyGuardTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ReentrancyGuardTransactorRaw) Transact ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReentrancyGuardTransactorRaw) Transfer ¶ added in v0.0.9
func (_ReentrancyGuard *ReentrancyGuardTransactorRaw) 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 ReentrancyGuardTransactorSession ¶ added in v0.0.9
type ReentrancyGuardTransactorSession struct { Contract *ReentrancyGuardTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ReentrancyGuardTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMath ¶ added in v0.0.9
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶ added in v0.0.9
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶ added in v0.0.9
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶ added in v0.0.9
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶ added in v0.0.9
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶ added in v0.0.9
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶ added in v0.0.9
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶ added in v0.0.9
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶ added in v0.0.9
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶ added in v0.0.9
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶ added in v0.0.9
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶ added in v0.0.9
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶ added in v0.0.9
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶ added in v0.0.9
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶ added in v0.0.9
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶ added in v0.0.9
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶ added in v0.0.9
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶ added in v0.0.9
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶ added in v0.0.9
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶ added in v0.0.9
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶ added in v0.0.9
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.