Documentation ¶
Index ¶
- Constants
- Variables
- type Stamp
- type StampAdminOP
- type StampAdminOPIterator
- type StampCaller
- func (_Stamp *StampCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Stamp *StampCaller) BalanceOf(opts *bind.CallOpts, user common.Address) (StampRecord, error)
- func (_Stamp *StampCaller) Conf(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Stamp *StampCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Stamp *StampCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StampCallerRaw
- type StampCallerSession
- func (_Stamp *StampCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_Stamp *StampCallerSession) BalanceOf(user common.Address) (StampRecord, error)
- func (_Stamp *StampCallerSession) Conf() (struct{ ... }, error)
- func (_Stamp *StampCallerSession) Owner() (common.Address, error)
- func (_Stamp *StampCallerSession) TotalSupply() (*big.Int, error)
- type StampConf
- type StampFilterer
- func (_Stamp *StampFilterer) FilterAdminOP(opts *bind.FilterOpts, newAdmin []common.Address) (*StampAdminOPIterator, error)
- func (_Stamp *StampFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*StampOwnerSetIterator, error)
- func (_Stamp *StampFilterer) FilterRevoke(opts *bind.FilterOpts, to []common.Address) (*StampRevokeIterator, error)
- func (_Stamp *StampFilterer) FilterTransfer(opts *bind.FilterOpts, to []common.Address) (*StampTransferIterator, error)
- func (_Stamp *StampFilterer) ParseAdminOP(log types.Log) (*StampAdminOP, error)
- func (_Stamp *StampFilterer) ParseOwnerSet(log types.Log) (*StampOwnerSet, error)
- func (_Stamp *StampFilterer) ParseRevoke(log types.Log) (*StampRevoke, error)
- func (_Stamp *StampFilterer) ParseTransfer(log types.Log) (*StampTransfer, error)
- func (_Stamp *StampFilterer) WatchAdminOP(opts *bind.WatchOpts, sink chan<- *StampAdminOP, newAdmin []common.Address) (event.Subscription, error)
- func (_Stamp *StampFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *StampOwnerSet, oldOwner []common.Address, ...) (event.Subscription, error)
- func (_Stamp *StampFilterer) WatchRevoke(opts *bind.WatchOpts, sink chan<- *StampRevoke, to []common.Address) (event.Subscription, error)
- func (_Stamp *StampFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StampTransfer, to []common.Address) (event.Subscription, error)
- type StampOwnerSet
- type StampOwnerSetIterator
- type StampRaw
- func (_Stamp *StampRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Stamp *StampRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Stamp *StampRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StampRecord
- type StampRevoke
- type StampRevokeIterator
- type StampSession
- func (_Stamp *StampSession) AdminOp(addr common.Address, isAdd bool) (*types.Transaction, error)
- func (_Stamp *StampSession) Admins(arg0 common.Address) (bool, error)
- func (_Stamp *StampSession) BalanceOf(user common.Address) (StampRecord, error)
- func (_Stamp *StampSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_Stamp *StampSession) Conf() (struct{ ... }, error)
- func (_Stamp *StampSession) Owner() (common.Address, error)
- func (_Stamp *StampSession) Revoke(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Stamp *StampSession) TotalSupply() (*big.Int, error)
- func (_Stamp *StampSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- type StampTransactor
- func (_Stamp *StampTransactor) AdminOp(opts *bind.TransactOpts, addr common.Address, isAdd bool) (*types.Transaction, error)
- func (_Stamp *StampTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Stamp *StampTransactor) Revoke(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Stamp *StampTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- type StampTransactorRaw
- type StampTransactorSession
- func (_Stamp *StampTransactorSession) AdminOp(addr common.Address, isAdd bool) (*types.Transaction, error)
- func (_Stamp *StampTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_Stamp *StampTransactorSession) Revoke(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Stamp *StampTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- type StampTransfer
- type StampTransferIterator
Constants ¶
const (
ChainAPIURL = "https://goerli.infura.io/v3/47aef1ccbb464b75af6d2b427cb7b8b4" //https://mainnet.infura.io/v3/47aef1ccbb464b75af6d2b427cb7b8b4
)
const StampABI = "" /* 3366-byte string literal not displayed */
StampABI is the input ABI used to generate the binding from.
Variables ¶
var ( EmptyRecord = StampRecord{ Value: big.NewInt(0), Nonce: big.NewInt(0), } )
Functions ¶
This section is empty.
Types ¶
type Stamp ¶
type Stamp struct { StampCaller // Read-only binding to the contract StampTransactor // Write-only binding to the contract StampFilterer // Log filterer for contract events }
Stamp is an auto generated Go binding around an Ethereum contract.
func EthTxCli ¶
func EthTxCli(stampAddr string, pri *ecdsa.PrivateKey) (*Stamp, *bind.TransactOpts, error)
type StampAdminOP ¶
type StampAdminOP struct { NewAdmin common.Address Add bool Raw types.Log // Blockchain specific contextual infos }
StampAdminOP represents a AdminOP event raised by the Stamp contract.
type StampAdminOPIterator ¶
type StampAdminOPIterator struct { Event *StampAdminOP // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StampAdminOPIterator is returned from FilterAdminOP and is used to iterate over the raw logs and unpacked data for AdminOP events raised by the Stamp contract.
func (*StampAdminOPIterator) Close ¶
func (it *StampAdminOPIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StampAdminOPIterator) Error ¶
func (it *StampAdminOPIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StampAdminOPIterator) Next ¶
func (it *StampAdminOPIterator) 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 StampCaller ¶
type StampCaller struct {
// contains filtered or unexported fields
}
StampCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStampCaller ¶
func NewStampCaller(address common.Address, caller bind.ContractCaller) (*StampCaller, error)
NewStampCaller creates a new read-only instance of Stamp, bound to a specific deployed contract.
func (*StampCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*StampCaller) BalanceOf ¶
func (_Stamp *StampCaller) BalanceOf(opts *bind.CallOpts, user common.Address) (StampRecord, error)
BalanceOf is a free data retrieval call binding the contract method 0xd9967889.
Solidity: function BalanceOf(address user) view returns((uint256,uint256))
func (*StampCaller) Conf ¶
func (_Stamp *StampCaller) Conf(opts *bind.CallOpts) (struct { MailBoxName string IsConsummable bool }, error)
Conf is a free data retrieval call binding the contract method 0x17792729.
Solidity: function conf() view returns(string MailBoxName, bool IsConsummable)
func (*StampCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StampCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StampCallerRaw ¶
type StampCallerRaw struct {
Contract *StampCaller // Generic read-only contract binding to access the raw methods on
}
StampCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StampCallerRaw) Call ¶
func (_Stamp *StampCallerRaw) 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 StampCallerSession ¶
type StampCallerSession struct { Contract *StampCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StampCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StampCallerSession) Admins ¶
func (_Stamp *StampCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*StampCallerSession) BalanceOf ¶
func (_Stamp *StampCallerSession) BalanceOf(user common.Address) (StampRecord, error)
BalanceOf is a free data retrieval call binding the contract method 0xd9967889.
Solidity: function BalanceOf(address user) view returns((uint256,uint256))
func (*StampCallerSession) Conf ¶
func (_Stamp *StampCallerSession) Conf() (struct { MailBoxName string IsConsummable bool }, error)
Conf is a free data retrieval call binding the contract method 0x17792729.
Solidity: function conf() view returns(string MailBoxName, bool IsConsummable)
func (*StampCallerSession) Owner ¶
func (_Stamp *StampCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StampCallerSession) TotalSupply ¶
func (_Stamp *StampCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StampConf ¶
type StampConf struct { Addr string MailBox string IsConsumable bool Balance map[common.Address]*StampRecord }
func (*StampConf) GetBalance ¶
func (sc *StampConf) GetBalance(ethAddr common.Address, force bool) *StampRecord
type StampFilterer ¶
type StampFilterer struct {
// contains filtered or unexported fields
}
StampFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStampFilterer ¶
func NewStampFilterer(address common.Address, filterer bind.ContractFilterer) (*StampFilterer, error)
NewStampFilterer creates a new log filterer instance of Stamp, bound to a specific deployed contract.
func (*StampFilterer) FilterAdminOP ¶
func (_Stamp *StampFilterer) FilterAdminOP(opts *bind.FilterOpts, newAdmin []common.Address) (*StampAdminOPIterator, error)
FilterAdminOP is a free log retrieval operation binding the contract event 0x1994fc2eb43ee6b946efd903e39930076e6b3241d31ff0ffe9e583b5b913470d.
Solidity: event AdminOP(address indexed newAdmin, bool add)
func (*StampFilterer) FilterOwnerSet ¶
func (_Stamp *StampFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*StampOwnerSetIterator, error)
FilterOwnerSet is a free log retrieval operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*StampFilterer) FilterRevoke ¶
func (_Stamp *StampFilterer) FilterRevoke(opts *bind.FilterOpts, to []common.Address) (*StampRevokeIterator, error)
FilterRevoke is a free log retrieval operation binding the contract event 0xec9ab91322523c899ede7830ec9bfc992b5981cdcc27b91162fb23de5791117b.
Solidity: event Revoke(address indexed to, uint256 value)
func (*StampFilterer) FilterTransfer ¶
func (_Stamp *StampFilterer) FilterTransfer(opts *bind.FilterOpts, to []common.Address) (*StampTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.
Solidity: event Transfer(address indexed to, uint256 value)
func (*StampFilterer) ParseAdminOP ¶
func (_Stamp *StampFilterer) ParseAdminOP(log types.Log) (*StampAdminOP, error)
ParseAdminOP is a log parse operation binding the contract event 0x1994fc2eb43ee6b946efd903e39930076e6b3241d31ff0ffe9e583b5b913470d.
Solidity: event AdminOP(address indexed newAdmin, bool add)
func (*StampFilterer) ParseOwnerSet ¶
func (_Stamp *StampFilterer) ParseOwnerSet(log types.Log) (*StampOwnerSet, error)
ParseOwnerSet is a log parse operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*StampFilterer) ParseRevoke ¶
func (_Stamp *StampFilterer) ParseRevoke(log types.Log) (*StampRevoke, error)
ParseRevoke is a log parse operation binding the contract event 0xec9ab91322523c899ede7830ec9bfc992b5981cdcc27b91162fb23de5791117b.
Solidity: event Revoke(address indexed to, uint256 value)
func (*StampFilterer) ParseTransfer ¶
func (_Stamp *StampFilterer) ParseTransfer(log types.Log) (*StampTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.
Solidity: event Transfer(address indexed to, uint256 value)
func (*StampFilterer) WatchAdminOP ¶
func (_Stamp *StampFilterer) WatchAdminOP(opts *bind.WatchOpts, sink chan<- *StampAdminOP, newAdmin []common.Address) (event.Subscription, error)
WatchAdminOP is a free log subscription operation binding the contract event 0x1994fc2eb43ee6b946efd903e39930076e6b3241d31ff0ffe9e583b5b913470d.
Solidity: event AdminOP(address indexed newAdmin, bool add)
func (*StampFilterer) WatchOwnerSet ¶
func (_Stamp *StampFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *StampOwnerSet, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerSet is a free log subscription operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*StampFilterer) WatchRevoke ¶
func (_Stamp *StampFilterer) WatchRevoke(opts *bind.WatchOpts, sink chan<- *StampRevoke, to []common.Address) (event.Subscription, error)
WatchRevoke is a free log subscription operation binding the contract event 0xec9ab91322523c899ede7830ec9bfc992b5981cdcc27b91162fb23de5791117b.
Solidity: event Revoke(address indexed to, uint256 value)
func (*StampFilterer) WatchTransfer ¶
func (_Stamp *StampFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StampTransfer, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0x69ca02dd4edd7bf0a4abb9ed3b7af3f14778db5d61921c7dc7cd545266326de2.
Solidity: event Transfer(address indexed to, uint256 value)
type StampOwnerSet ¶
type StampOwnerSet struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
StampOwnerSet represents a OwnerSet event raised by the Stamp contract.
type StampOwnerSetIterator ¶
type StampOwnerSetIterator struct { Event *StampOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StampOwnerSetIterator is returned from FilterOwnerSet and is used to iterate over the raw logs and unpacked data for OwnerSet events raised by the Stamp contract.
func (*StampOwnerSetIterator) Close ¶
func (it *StampOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StampOwnerSetIterator) Error ¶
func (it *StampOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StampOwnerSetIterator) Next ¶
func (it *StampOwnerSetIterator) 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 StampRaw ¶
type StampRaw struct {
Contract *Stamp // Generic contract binding to access the raw methods on
}
StampRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StampRaw) Call ¶
func (_Stamp *StampRaw) 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 (*StampRaw) Transact ¶
func (_Stamp *StampRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StampRaw) Transfer ¶
func (_Stamp *StampRaw) 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 StampRecord ¶
StampRecord is an auto generated low-level Go binding around an user-defined struct.
func StampBalanceOfWallet ¶
func StampBalanceOfWallet(stampAddr, userAddr common.Address) (StampRecord, error)
type StampRevoke ¶
type StampRevoke struct { To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StampRevoke represents a Revoke event raised by the Stamp contract.
type StampRevokeIterator ¶
type StampRevokeIterator struct { Event *StampRevoke // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StampRevokeIterator is returned from FilterRevoke and is used to iterate over the raw logs and unpacked data for Revoke events raised by the Stamp contract.
func (*StampRevokeIterator) Close ¶
func (it *StampRevokeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StampRevokeIterator) Error ¶
func (it *StampRevokeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StampRevokeIterator) Next ¶
func (it *StampRevokeIterator) 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 StampSession ¶
type StampSession struct { Contract *Stamp // 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 }
StampSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StampSession) AdminOp ¶
func (_Stamp *StampSession) AdminOp(addr common.Address, isAdd bool) (*types.Transaction, error)
AdminOp is a paid mutator transaction binding the contract method 0x809b4767.
Solidity: function adminOp(address addr, bool isAdd) returns()
func (*StampSession) Admins ¶
func (_Stamp *StampSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*StampSession) BalanceOf ¶
func (_Stamp *StampSession) BalanceOf(user common.Address) (StampRecord, error)
BalanceOf is a free data retrieval call binding the contract method 0xd9967889.
Solidity: function BalanceOf(address user) view returns((uint256,uint256))
func (*StampSession) ChangeOwner ¶
func (_Stamp *StampSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*StampSession) Conf ¶
func (_Stamp *StampSession) Conf() (struct { MailBoxName string IsConsummable bool }, error)
Conf is a free data retrieval call binding the contract method 0x17792729.
Solidity: function conf() view returns(string MailBoxName, bool IsConsummable)
func (*StampSession) Owner ¶
func (_Stamp *StampSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StampSession) Revoke ¶
func (_Stamp *StampSession) Revoke(to common.Address, value *big.Int) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0xeac449d9.
Solidity: function revoke(address to, uint256 value) returns()
func (*StampSession) TotalSupply ¶
func (_Stamp *StampSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StampSession) Transfer ¶
func (_Stamp *StampSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns()
type StampTransactor ¶
type StampTransactor struct {
// contains filtered or unexported fields
}
StampTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStampTransactor ¶
func NewStampTransactor(address common.Address, transactor bind.ContractTransactor) (*StampTransactor, error)
NewStampTransactor creates a new write-only instance of Stamp, bound to a specific deployed contract.
func (*StampTransactor) AdminOp ¶
func (_Stamp *StampTransactor) AdminOp(opts *bind.TransactOpts, addr common.Address, isAdd bool) (*types.Transaction, error)
AdminOp is a paid mutator transaction binding the contract method 0x809b4767.
Solidity: function adminOp(address addr, bool isAdd) returns()
func (*StampTransactor) ChangeOwner ¶
func (_Stamp *StampTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*StampTransactor) Revoke ¶
func (_Stamp *StampTransactor) Revoke(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0xeac449d9.
Solidity: function revoke(address to, uint256 value) returns()
func (*StampTransactor) Transfer ¶
func (_Stamp *StampTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns()
type StampTransactorRaw ¶
type StampTransactorRaw struct {
Contract *StampTransactor // Generic write-only contract binding to access the raw methods on
}
StampTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StampTransactorRaw) Transact ¶
func (_Stamp *StampTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StampTransactorRaw) Transfer ¶
func (_Stamp *StampTransactorRaw) 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 StampTransactorSession ¶
type StampTransactorSession struct { Contract *StampTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StampTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StampTransactorSession) AdminOp ¶
func (_Stamp *StampTransactorSession) AdminOp(addr common.Address, isAdd bool) (*types.Transaction, error)
AdminOp is a paid mutator transaction binding the contract method 0x809b4767.
Solidity: function adminOp(address addr, bool isAdd) returns()
func (*StampTransactorSession) ChangeOwner ¶
func (_Stamp *StampTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*StampTransactorSession) Revoke ¶
func (_Stamp *StampTransactorSession) Revoke(to common.Address, value *big.Int) (*types.Transaction, error)
Revoke is a paid mutator transaction binding the contract method 0xeac449d9.
Solidity: function revoke(address to, uint256 value) returns()
func (*StampTransactorSession) Transfer ¶
func (_Stamp *StampTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns()
type StampTransfer ¶
type StampTransfer struct { To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StampTransfer represents a Transfer event raised by the Stamp contract.
type StampTransferIterator ¶
type StampTransferIterator struct { Event *StampTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StampTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Stamp contract.
func (*StampTransferIterator) Close ¶
func (it *StampTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StampTransferIterator) Error ¶
func (it *StampTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StampTransferIterator) Next ¶
func (it *StampTransferIterator) 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.