abis

package
v0.0.0-...-f60ab11 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StealcamABI = StealcamMetaData.ABI

StealcamABI is the input ABI used to generate the binding from. Deprecated: Use StealcamMetaData.ABI instead.

View Source
var StealcamMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Stolen\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseUri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"previousStealPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"}],\"name\":\"setBaseUri\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"steal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StealcamMetaData contains all meta data concerning the Stealcam contract.

Functions

This section is empty.

Types

type Stealcam

type Stealcam struct {
	StealcamCaller     // Read-only binding to the contract
	StealcamTransactor // Write-only binding to the contract
	StealcamFilterer   // Log filterer for contract events
}

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

func NewStealcam

func NewStealcam(address common.Address, backend bind.ContractBackend) (*Stealcam, error)

NewStealcam creates a new instance of Stealcam, bound to a specific deployed contract.

type StealcamApproval

type StealcamApproval struct {
	Owner   common.Address
	Spender common.Address
	Id      *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

StealcamApproval represents a Approval event raised by the Stealcam contract.

type StealcamApprovalForAll

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

StealcamApprovalForAll represents a ApprovalForAll event raised by the Stealcam contract.

type StealcamApprovalForAllIterator

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

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

func (*StealcamApprovalForAllIterator) Close

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

func (*StealcamApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StealcamApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StealcamApprovalIterator

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

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

func (*StealcamApprovalIterator) Close

func (it *StealcamApprovalIterator) Close() error

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

func (*StealcamApprovalIterator) Error

func (it *StealcamApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StealcamApprovalIterator) Next

func (it *StealcamApprovalIterator) 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 StealcamCaller

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

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

func NewStealcamCaller

func NewStealcamCaller(address common.Address, caller bind.ContractCaller) (*StealcamCaller, error)

NewStealcamCaller creates a new read-only instance of Stealcam, bound to a specific deployed contract.

func (*StealcamCaller) BalanceOf

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

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

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

func (*StealcamCaller) BaseUri

func (_Stealcam *StealcamCaller) BaseUri(opts *bind.CallOpts) (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*StealcamCaller) Creator

func (_Stealcam *StealcamCaller) Creator(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 ) view returns(address)

func (*StealcamCaller) GetApproved

func (_Stealcam *StealcamCaller) GetApproved(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

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

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

func (*StealcamCaller) IsApprovedForAll

func (_Stealcam *StealcamCaller) IsApprovedForAll(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*StealcamCaller) Name

func (_Stealcam *StealcamCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*StealcamCaller) Owner

func (_Stealcam *StealcamCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StealcamCaller) OwnerOf

func (_Stealcam *StealcamCaller) OwnerOf(opts *bind.CallOpts, id *big.Int) (common.Address, error)

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

Solidity: function ownerOf(uint256 id) view returns(address owner)

func (*StealcamCaller) PreviousStealPrice

func (_Stealcam *StealcamCaller) PreviousStealPrice(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

PreviousStealPrice is a free data retrieval call binding the contract method 0xaac5e508.

Solidity: function previousStealPrice(uint256 ) view returns(uint256)

func (*StealcamCaller) SupportsInterface

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

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

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

func (*StealcamCaller) Symbol

func (_Stealcam *StealcamCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*StealcamCaller) TokenURI

func (_Stealcam *StealcamCaller) TokenURI(opts *bind.CallOpts, id *big.Int) (string, error)

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

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

type StealcamCallerRaw

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

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

func (*StealcamCallerRaw) Call

func (_Stealcam *StealcamCallerRaw) 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 StealcamCallerSession

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

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

func (*StealcamCallerSession) BalanceOf

func (_Stealcam *StealcamCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*StealcamCallerSession) BaseUri

func (_Stealcam *StealcamCallerSession) BaseUri() (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*StealcamCallerSession) Creator

func (_Stealcam *StealcamCallerSession) Creator(arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 ) view returns(address)

func (*StealcamCallerSession) GetApproved

func (_Stealcam *StealcamCallerSession) GetApproved(arg0 *big.Int) (common.Address, error)

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

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

func (*StealcamCallerSession) IsApprovedForAll

func (_Stealcam *StealcamCallerSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*StealcamCallerSession) Name

func (_Stealcam *StealcamCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*StealcamCallerSession) Owner

func (_Stealcam *StealcamCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StealcamCallerSession) OwnerOf

func (_Stealcam *StealcamCallerSession) OwnerOf(id *big.Int) (common.Address, error)

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

Solidity: function ownerOf(uint256 id) view returns(address owner)

func (*StealcamCallerSession) PreviousStealPrice

func (_Stealcam *StealcamCallerSession) PreviousStealPrice(arg0 *big.Int) (*big.Int, error)

PreviousStealPrice is a free data retrieval call binding the contract method 0xaac5e508.

Solidity: function previousStealPrice(uint256 ) view returns(uint256)

func (*StealcamCallerSession) SupportsInterface

func (_Stealcam *StealcamCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*StealcamCallerSession) Symbol

func (_Stealcam *StealcamCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*StealcamCallerSession) TokenURI

func (_Stealcam *StealcamCallerSession) TokenURI(id *big.Int) (string, error)

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

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

type StealcamFilterer

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

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

func NewStealcamFilterer

func NewStealcamFilterer(address common.Address, filterer bind.ContractFilterer) (*StealcamFilterer, error)

NewStealcamFilterer creates a new log filterer instance of Stealcam, bound to a specific deployed contract.

func (*StealcamFilterer) FilterApproval

func (_Stealcam *StealcamFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address, id []*big.Int) (*StealcamApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 indexed id)

func (*StealcamFilterer) FilterApprovalForAll

func (_Stealcam *StealcamFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*StealcamApprovalForAllIterator, error)

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

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

func (*StealcamFilterer) FilterOwnershipTransferred

func (_Stealcam *StealcamFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StealcamOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StealcamFilterer) FilterStolen

func (_Stealcam *StealcamFilterer) FilterStolen(opts *bind.FilterOpts) (*StealcamStolenIterator, error)

FilterStolen is a free log retrieval operation binding the contract event 0xbd1d1f579700e7d5d89a06ef937990d5f920f734ad1b9b945b354c9643dfd322.

Solidity: event Stolen(address from, address to, uint256 id, uint256 value)

func (*StealcamFilterer) FilterTransfer

func (_Stealcam *StealcamFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, id []*big.Int) (*StealcamTransferIterator, error)

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

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

func (*StealcamFilterer) ParseApproval

func (_Stealcam *StealcamFilterer) ParseApproval(log types.Log) (*StealcamApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 indexed id)

func (*StealcamFilterer) ParseApprovalForAll

func (_Stealcam *StealcamFilterer) ParseApprovalForAll(log types.Log) (*StealcamApprovalForAll, error)

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

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

func (*StealcamFilterer) ParseOwnershipTransferred

func (_Stealcam *StealcamFilterer) ParseOwnershipTransferred(log types.Log) (*StealcamOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StealcamFilterer) ParseStolen

func (_Stealcam *StealcamFilterer) ParseStolen(log types.Log) (*StealcamStolen, error)

ParseStolen is a log parse operation binding the contract event 0xbd1d1f579700e7d5d89a06ef937990d5f920f734ad1b9b945b354c9643dfd322.

Solidity: event Stolen(address from, address to, uint256 id, uint256 value)

func (*StealcamFilterer) ParseTransfer

func (_Stealcam *StealcamFilterer) ParseTransfer(log types.Log) (*StealcamTransfer, error)

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

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

func (*StealcamFilterer) WatchApproval

func (_Stealcam *StealcamFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StealcamApproval, owner []common.Address, spender []common.Address, id []*big.Int) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 indexed id)

func (*StealcamFilterer) WatchApprovalForAll

func (_Stealcam *StealcamFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *StealcamApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

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

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

func (*StealcamFilterer) WatchOwnershipTransferred

func (_Stealcam *StealcamFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StealcamOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StealcamFilterer) WatchStolen

func (_Stealcam *StealcamFilterer) WatchStolen(opts *bind.WatchOpts, sink chan<- *StealcamStolen) (event.Subscription, error)

WatchStolen is a free log subscription operation binding the contract event 0xbd1d1f579700e7d5d89a06ef937990d5f920f734ad1b9b945b354c9643dfd322.

Solidity: event Stolen(address from, address to, uint256 id, uint256 value)

func (*StealcamFilterer) WatchTransfer

func (_Stealcam *StealcamFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StealcamTransfer, from []common.Address, to []common.Address, id []*big.Int) (event.Subscription, error)

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

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

type StealcamOwnershipTransferred

type StealcamOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

StealcamOwnershipTransferred represents a OwnershipTransferred event raised by the Stealcam contract.

type StealcamOwnershipTransferredIterator

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

StealcamOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Stealcam contract.

func (*StealcamOwnershipTransferredIterator) Close

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

func (*StealcamOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StealcamOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StealcamRaw

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

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

func (*StealcamRaw) Call

func (_Stealcam *StealcamRaw) 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 (*StealcamRaw) Transact

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

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

func (*StealcamRaw) Transfer

func (_Stealcam *StealcamRaw) 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 StealcamSession

type StealcamSession struct {
	Contract     *Stealcam         // 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
}

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

func (*StealcamSession) Approve

func (_Stealcam *StealcamSession) Approve(spender common.Address, id *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 id) returns()

func (*StealcamSession) BalanceOf

func (_Stealcam *StealcamSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*StealcamSession) BaseUri

func (_Stealcam *StealcamSession) BaseUri() (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*StealcamSession) Creator

func (_Stealcam *StealcamSession) Creator(arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 ) view returns(address)

func (*StealcamSession) GetApproved

func (_Stealcam *StealcamSession) GetApproved(arg0 *big.Int) (common.Address, error)

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

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

func (*StealcamSession) IsApprovedForAll

func (_Stealcam *StealcamSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*StealcamSession) Mint

func (_Stealcam *StealcamSession) Mint(id *big.Int, _creator common.Address, signature []byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 id, address _creator, bytes signature) returns()

func (*StealcamSession) Mint0

func (_Stealcam *StealcamSession) Mint0(id *big.Int, _creator common.Address) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 id, address _creator) returns()

func (*StealcamSession) Name

func (_Stealcam *StealcamSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*StealcamSession) Owner

func (_Stealcam *StealcamSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StealcamSession) OwnerOf

func (_Stealcam *StealcamSession) OwnerOf(id *big.Int) (common.Address, error)

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

Solidity: function ownerOf(uint256 id) view returns(address owner)

func (*StealcamSession) PreviousStealPrice

func (_Stealcam *StealcamSession) PreviousStealPrice(arg0 *big.Int) (*big.Int, error)

PreviousStealPrice is a free data retrieval call binding the contract method 0xaac5e508.

Solidity: function previousStealPrice(uint256 ) view returns(uint256)

func (*StealcamSession) RenounceOwnership

func (_Stealcam *StealcamSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StealcamSession) SafeTransferFrom

func (_Stealcam *StealcamSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamSession) SafeTransferFrom0

func (_Stealcam *StealcamSession) SafeTransferFrom0(from common.Address, to common.Address, id *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, bytes data) returns()

func (*StealcamSession) SetApprovalForAll

func (_Stealcam *StealcamSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

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

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

func (*StealcamSession) SetBaseUri

func (_Stealcam *StealcamSession) SetBaseUri(_baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*StealcamSession) Steal

func (_Stealcam *StealcamSession) Steal(id *big.Int) (*types.Transaction, error)

Steal is a paid mutator transaction binding the contract method 0x9bcf5f0c.

Solidity: function steal(uint256 id) payable returns()

func (*StealcamSession) SupportsInterface

func (_Stealcam *StealcamSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*StealcamSession) Symbol

func (_Stealcam *StealcamSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*StealcamSession) TokenURI

func (_Stealcam *StealcamSession) TokenURI(id *big.Int) (string, error)

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

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

func (*StealcamSession) TransferFrom

func (_Stealcam *StealcamSession) TransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamSession) TransferOwnership

func (_Stealcam *StealcamSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StealcamSession) Withdraw

func (_Stealcam *StealcamSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type StealcamStolen

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

StealcamStolen represents a Stolen event raised by the Stealcam contract.

type StealcamStolenIterator

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

StealcamStolenIterator is returned from FilterStolen and is used to iterate over the raw logs and unpacked data for Stolen events raised by the Stealcam contract.

func (*StealcamStolenIterator) Close

func (it *StealcamStolenIterator) Close() error

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

func (*StealcamStolenIterator) Error

func (it *StealcamStolenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StealcamStolenIterator) Next

func (it *StealcamStolenIterator) 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 StealcamTransactor

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

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

func NewStealcamTransactor

func NewStealcamTransactor(address common.Address, transactor bind.ContractTransactor) (*StealcamTransactor, error)

NewStealcamTransactor creates a new write-only instance of Stealcam, bound to a specific deployed contract.

func (*StealcamTransactor) Approve

func (_Stealcam *StealcamTransactor) Approve(opts *bind.TransactOpts, spender common.Address, id *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 id) returns()

func (*StealcamTransactor) Mint

func (_Stealcam *StealcamTransactor) Mint(opts *bind.TransactOpts, id *big.Int, _creator common.Address, signature []byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 id, address _creator, bytes signature) returns()

func (*StealcamTransactor) Mint0

func (_Stealcam *StealcamTransactor) Mint0(opts *bind.TransactOpts, id *big.Int, _creator common.Address) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 id, address _creator) returns()

func (*StealcamTransactor) RenounceOwnership

func (_Stealcam *StealcamTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StealcamTransactor) SafeTransferFrom

func (_Stealcam *StealcamTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamTransactor) SafeTransferFrom0

func (_Stealcam *StealcamTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, bytes data) returns()

func (*StealcamTransactor) SetApprovalForAll

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

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

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

func (*StealcamTransactor) SetBaseUri

func (_Stealcam *StealcamTransactor) SetBaseUri(opts *bind.TransactOpts, _baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*StealcamTransactor) Steal

func (_Stealcam *StealcamTransactor) Steal(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Steal is a paid mutator transaction binding the contract method 0x9bcf5f0c.

Solidity: function steal(uint256 id) payable returns()

func (*StealcamTransactor) TransferFrom

func (_Stealcam *StealcamTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamTransactor) TransferOwnership

func (_Stealcam *StealcamTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StealcamTransactor) Withdraw

func (_Stealcam *StealcamTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type StealcamTransactorRaw

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

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

func (*StealcamTransactorRaw) Transact

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

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

func (*StealcamTransactorRaw) Transfer

func (_Stealcam *StealcamTransactorRaw) 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 StealcamTransactorSession

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

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

func (*StealcamTransactorSession) Approve

func (_Stealcam *StealcamTransactorSession) Approve(spender common.Address, id *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 id) returns()

func (*StealcamTransactorSession) Mint

func (_Stealcam *StealcamTransactorSession) Mint(id *big.Int, _creator common.Address, signature []byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 id, address _creator, bytes signature) returns()

func (*StealcamTransactorSession) Mint0

func (_Stealcam *StealcamTransactorSession) Mint0(id *big.Int, _creator common.Address) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0x94bf804d.

Solidity: function mint(uint256 id, address _creator) returns()

func (*StealcamTransactorSession) RenounceOwnership

func (_Stealcam *StealcamTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StealcamTransactorSession) SafeTransferFrom

func (_Stealcam *StealcamTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamTransactorSession) SafeTransferFrom0

func (_Stealcam *StealcamTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, id *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address from, address to, uint256 id, bytes data) returns()

func (*StealcamTransactorSession) SetApprovalForAll

func (_Stealcam *StealcamTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

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

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

func (*StealcamTransactorSession) SetBaseUri

func (_Stealcam *StealcamTransactorSession) SetBaseUri(_baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*StealcamTransactorSession) Steal

func (_Stealcam *StealcamTransactorSession) Steal(id *big.Int) (*types.Transaction, error)

Steal is a paid mutator transaction binding the contract method 0x9bcf5f0c.

Solidity: function steal(uint256 id) payable returns()

func (*StealcamTransactorSession) TransferFrom

func (_Stealcam *StealcamTransactorSession) TransferFrom(from common.Address, to common.Address, id *big.Int) (*types.Transaction, error)

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

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

func (*StealcamTransactorSession) TransferOwnership

func (_Stealcam *StealcamTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*StealcamTransactorSession) Withdraw

func (_Stealcam *StealcamTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type StealcamTransfer

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

StealcamTransfer represents a Transfer event raised by the Stealcam contract.

type StealcamTransferIterator

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

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

func (*StealcamTransferIterator) Close

func (it *StealcamTransferIterator) Close() error

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

func (*StealcamTransferIterator) Error

func (it *StealcamTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StealcamTransferIterator) Next

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

Jump to

Keyboard shortcuts

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